1
0
Fork 0
mirror of https://github.com/pry/pry-rails.git synced 2022-11-09 12:36:03 -05:00

Make it easier for developers to develop pry-rails

This commit is contained in:
David Peter 2012-07-13 18:20:48 -04:00
parent 1f92bb88c1
commit ac8fb6ce2a

View file

@ -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'