Rakefile in arel-helpers-2.0.0 vs Rakefile in arel-helpers-2.0.1
- old
+ new
@@ -14,5 +14,18 @@
desc 'Run specs'
RSpec::Core::RakeTask.new do |t|
t.pattern = './spec/**/*_spec.rb'
end
+
+task :console do
+ $:.push(File.dirname(__FILE__))
+
+ require 'spec/env'
+ require 'pry-nav'
+
+ ArelHelpers::Env.establish_connection
+ ArelHelpers::Env.reset
+ ArelHelpers::Env.migrate
+
+ Pry.start
+end