-
Notifications
You must be signed in to change notification settings - Fork 22.2k
Closed
Labels
Description
Steps to reproduce
As per Guides, run bundle exec rails new ~/my-test-app --dev
Expected behavior
New Rails app should be generated linked to local copy of Rails.
Actual behavior
The command fails:
/vagrant/rails/railties/lib/rails/generators/actions.rb:255:in `block in rails_command': undefined method `silence_warnings' for #<Rails::Generators::AppGenerator:0x000055d32b413328> (NoMethodError)
I think this may have been introduced in f6f5163. I tried to fix this, adding
require "active_support/core_ext/kernel/reporting"
in railties/lib/rails/generators/actions.rb and running again which results in:
invalid option: --dev
This is probably related to rails_command "webpacker:install".
System configuration
Rails version:
Edge Rails at df186bd
Ruby version:
2.5.5p157
Reactions are currently unavailable