From ac8fb6ce2a05e5c8cf23119d830e20b2172e900f Mon Sep 17 00:00:00 2001 From: David Peter Date: Fri, 13 Jul 2012 18:20:48 -0400 Subject: [PATCH] Make it easier for developers to develop pry-rails --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 3598ef4..c8a5bbf 100644 --- a/Rakefile +++ b/Rakefile @@ -8,6 +8,7 @@ task :init_test_app do `rm -rf test/app >/dev/null 2>&1` `env BUNDLE_GEMFILE=gemfiles/rails30.gemfile bundle exec rails new test/app` FileUtils.cp("test/routes.rb", "test/app/config/routes.rb") + File.open("test/app/Gemfile", 'a+') { |f| f.write(%Q{gem "pry-rails", :path => "../../"}) } end desc 'Start the Rails server'