diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-31 18:44:01 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-31 18:55:35 +0900 |
commit | 9b72fcc3c22a6f75f37f52dd6cb682bc00c51cf0 (patch) | |
tree | ee566887e29a4161b7a02c476d054408424c0989 /railties/lib/rails/generators/rails | |
parent | c3ff36815c542fac25b2da4e3cff320499b60998 (diff) | |
download | rails-9b72fcc3c22a6f75f37f52dd6cb682bc00c51cf0.tar.gz rails-9b72fcc3c22a6f75f37f52dd6cb682bc00c51cf0.tar.bz2 rails-9b72fcc3c22a6f75f37f52dd6cb682bc00c51cf0.zip |
remove `skip_bundle` option from plugin generator
Because `bundle install` is not executed regardless of whether the option
is specified or not.
Ref: fbd1e98cf983572ca9884f17f933ffe92833632a
Diffstat (limited to 'railties/lib/rails/generators/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 070a6ac124..9ae48b3648 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -175,6 +175,9 @@ module Rails class_option :api, type: :boolean, desc: "Preconfigure smaller stack for API only apps" + class_option :skip_bundle, type: :boolean, aliases: "-B", default: false, + desc: "Don't run bundle install" + def initialize(*args) super |