Skip to content

Commit

Permalink
Require pry where it is launched
Browse files Browse the repository at this point in the history
It's 4 am, time to go to bed.
  • Loading branch information
jonatack committed Jul 24, 2016
1 parent f2e85ad commit 6a059ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ end

desc "Open an irb session with Ransack and the sample data used in specs"
task :console do
require 'pry'
require File.expand_path('../spec/console.rb', __FILE__)
ARGV.clear
Pry.start
Expand Down
1 change: 0 additions & 1 deletion spec/console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'sham'
require 'faker'
require 'ransack'
require 'pry'

Dir[File.expand_path('../../spec/{helpers,support,blueprints}/*.rb', __FILE__)]
.each do |f|
Expand Down

0 comments on commit 6a059ba

Please sign in to comment.