method
rails_gemfile_entry
v4.1.8 -
Show latest stable
- Class:
Rails::Generators::AppBase
rails_gemfile_entry()protected
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 201
def rails_gemfile_entry
if options.dev?
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH),
GemfileEntry.github('arel', 'rails/arel', '5-0-stable')]
elsif options.edge?
[GemfileEntry.github('rails', 'rails/rails', '4-1-stable')]
else
[GemfileEntry.version('rails',
Rails::VERSION::STRING,
"Bundle edge Rails instead: gem 'rails', github: 'rails/rails'")]
end
end