mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Generate new applications with the right rails-dom-testing version
This commit is contained in:
parent
27a181f751
commit
916731686b
1 changed files with 4 additions and 2 deletions
|
@ -195,9 +195,11 @@ module Rails
|
||||||
|
|
||||||
def rails_gemfile_entry
|
def rails_gemfile_entry
|
||||||
if options.dev?
|
if options.dev?
|
||||||
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH)]
|
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH),
|
||||||
|
GemfileEntry.github('rails-dom-testing', 'rails/rails-dom-testing')]
|
||||||
elsif options.edge?
|
elsif options.edge?
|
||||||
[GemfileEntry.github('rails', 'rails/rails')]
|
[GemfileEntry.github('rails', 'rails/rails'),
|
||||||
|
GemfileEntry.github('rails-dom-testing', 'rails/rails-dom-testing')]
|
||||||
else
|
else
|
||||||
[GemfileEntry.version('rails',
|
[GemfileEntry.version('rails',
|
||||||
Rails::VERSION::STRING,
|
Rails::VERSION::STRING,
|
||||||
|
|
Loading…
Reference in a new issue