xmvc 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- 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