1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Test against rack master

This commit is contained in:
Rafael Mendonça França 2014-11-26 16:17:51 -02:00
parent 13cb45452a
commit 2a4e14db98
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@ source 'https://rubygems.org'
gemspec
gem 'rack', github: 'rack/rack'
# We need a newish Rake since Active Job sets its test tasks' descriptions.
gem 'rake', '>= 10.3'

View file

@ -195,9 +195,9 @@ module Rails
def rails_gemfile_entry
if options.dev?
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH)]
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH), GemfileEntry.github('rack', 'rack/rack')]
elsif options.edge?
[GemfileEntry.github('rails', 'rails/rails')]
[GemfileEntry.github('rails', 'rails/rails'), GemfileEntry.github('rack', 'rack/rack')]
else
[GemfileEntry.version('rails',
Rails::VERSION::STRING,