Module: Nextgen::RailsCommand
- Defined in:
- lib/nextgen/rails_command.rb
Class Method Summary collapse
Class Method Details
.run(*args, raise_on_error: true) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/nextgen/rails_command.rb', line 8 def run(*args, raise_on_error: true) command = "rails", "_#{::Rails.version}_", *args say_status :run, *command.join(" ") with_original_bundler_env do system(*command, exception: raise_on_error) end end |