Skip to content

Commit

Permalink
Rack is released too
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Aug 18, 2014
1 parent 6b32a4f commit ec7a8b0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions railties/lib/rails/generators/app_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,9 @@ def self.path(name, path, comment = nil)

def rails_gemfile_entry
if options.dev?
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH),
GemfileEntry.github('rack', 'rack/rack')]
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH)]
elsif options.edge?
[GemfileEntry.github('rails', 'rails/rails'),
GemfileEntry.github('rack', 'rack/rack')]
[GemfileEntry.github('rails', 'rails/rails')]
else
[GemfileEntry.version('rails',
Rails::VERSION::STRING,
Expand Down

0 comments on commit ec7a8b0

Please sign in to comment.