lib/sinatra/commands/env_command.rb in sinatra-template-1.2.0 vs lib/sinatra/commands/env_command.rb in sinatra-template-1.3.0
- old
+ new
@@ -8,10 +8,10 @@
Command.inherited(klass)
end
def initialize(args)
self.args = args
- @app_dir = File.expand_path(pwd)
+ @app_dir = File.expand_path(FileUtils.pwd)
self.env = args[1] || "development"
ENV["RACK_ENV"] = self.env
end
end
\ No newline at end of file