lib/lotus/commands/console.rb in lotusrb-0.3.2 vs lib/lotus/commands/console.rb in lotusrb-0.4.0
- old
+ new
@@ -22,10 +22,10 @@
end
def start
# Clear out ARGV so Pry/IRB don't attempt to parse the rest
ARGV.shift until ARGV.empty?
- require @environment.env_config.to_s
+ @environment.require_application_environment
# Add convenience methods to the main:Object binding
TOPLEVEL_BINDING.eval('self').send(:include, Methods)
Lotus::Application.preload_applications!