xmvc 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/xmvc.rb +1 -1
- data/xmvc.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/lib/xmvc.rb
CHANGED
|
@@ -96,7 +96,7 @@ module Xmvc
|
|
|
96
96
|
end
|
|
97
97
|
|
|
98
98
|
# Check for existence of arbitrary app files...see if it *looks* like we're in an Xmvc app.
|
|
99
|
-
unless ARGV.empty? || ARGV.first == "help" || (File.exists?("
|
|
99
|
+
unless ARGV.empty? || ARGV.first == "help" || (File.exists?("config") && File.exists?("config/environment.yml"))
|
|
100
100
|
raise Xmvc::AppNotFound.new("This command must be executed from the root of an xmvc application")
|
|
101
101
|
end
|
|
102
102
|
Settings.load
|
data/xmvc.gemspec
CHANGED