diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-05-17 18:29:20 -0400 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-05-17 18:29:20 -0400 |
commit | 0a070a2444a5e2167e208c0b327af37d757ef70a (patch) | |
tree | 3e2d4217dabdfd86088f5af3388be250a847253c /railties/lib | |
parent | a898df66e4b640b5f8faa73e1fc04f9eba278a38 (diff) | |
download | rails-0a070a2444a5e2167e208c0b327af37d757ef70a.tar.gz rails-0a070a2444a5e2167e208c0b327af37d757ef70a.tar.bz2 rails-0a070a2444a5e2167e208c0b327af37d757ef70a.zip |
Run bundle install once when using plugin_new --full --mountable. Closes #555
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 939c0cd727..9ddb3cae33 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -75,6 +75,7 @@ task :default => :test def generate_test_dummy(force = false) opts = (options || {}).slice(*PASSTHROUGH_OPTIONS) opts[:force] = force + opts[:skip_bundle] = true invoke Rails::Generators::AppGenerator, [ File.expand_path(dummy_path, destination_root) ], opts |