lib/totem/shell.rb in totem-0.0.5 vs lib/totem/shell.rb in totem-0.0.6
- old
+ new
@@ -14,10 +14,10 @@
def run
env_path = 'config/environment.rb'
if File.exists?(env_path)
load(env_path)
- else
+ elsif @args[0] != 'new'
puts "Unable to find #{env_path}. You must run this command from your project root directory."
exit
end
if @args[0].nil?