lib/grape/app/tasks/core.rake in grape-app-0.10.1 vs lib/grape/app/tasks/core.rake in grape-app-0.11.0
- old
+ new
@@ -2,10 +2,10 @@
require Bundler.root.join('config', 'environment').to_s
end
desc 'Launch console'
task console: :environment do
- ::ARGV.clear
+ ARGV.clear
require 'irb'
require 'irb/completion'
IRB.start(Grape::App.root.to_s)