instance method
bundle_if_dev_or_edge
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
bundle_if_dev_or_edge()
No documentation comment.
Source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 308
def bundle_if_dev_or_edge
bundle_command = File.basename(Thor::Util.ruby_command).sub(/ruby/, 'bundle')
run "#{bundle_command} install" if dev_or_edge?
end
Defined in railties/lib/rails/generators/rails/app/app_generator.rb line 308
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::AppGenerator