diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-05-01 13:01:29 -0700 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-05-01 15:24:50 -0700 |
commit | 17f2958d853ef0dbee1aa6fa6d7b89d1ca3d4352 (patch) | |
tree | ccce1d63427817aa3ea9aa445439e6b84076a0ef /railties/lib/rails/generators | |
parent | c35fd3d3064ed4150ab062243be3a1392fe6ffe6 (diff) | |
download | rails-17f2958d853ef0dbee1aa6fa6d7b89d1ca3d4352.tar.gz rails-17f2958d853ef0dbee1aa6fa6d7b89d1ca3d4352.tar.bz2 rails-17f2958d853ef0dbee1aa6fa6d7b89d1ca3d4352.zip |
Use :github option in Gemfile and make hashes consistent
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index b677e974c8..64d8ed0684 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -138,23 +138,23 @@ module Rails if options.dev? <<-GEMFILE.strip_heredoc gem 'rails', :path => '#{Rails::Generators::RAILS_DEV_PATH}' - gem 'journey', :git => 'https://github.com/rails/journey.git' - gem 'arel', :git => 'https://github.com/rails/arel.git' - gem 'active_record_deprecated_finders', :git => 'git://github.com/rails/active_record_deprecated_finders.git' + gem 'journey', :github => 'rails/journey' + gem 'arel', :github => 'rails/arel' + gem 'active_record_deprecated_finders', :github => 'rails/active_record_deprecated_finders' GEMFILE elsif options.edge? <<-GEMFILE.strip_heredoc - gem 'rails', :git => 'https://github.com/rails/rails.git' - gem 'journey', :git => 'https://github.com/rails/journey.git' - gem 'arel', :git => 'https://github.com/rails/arel.git' - gem 'active_record_deprecated_finders', :git => 'git://github.com/rails/active_record_deprecated_finders.git' + gem 'rails', :github => 'rails/rails' + gem 'journey', :github => 'rails/journey' + gem 'arel', :github => 'rails/arel' + gem 'active_record_deprecated_finders', :github => 'rails/active_record_deprecated_finders' GEMFILE else <<-GEMFILE.strip_heredoc gem 'rails', '#{Rails::VERSION::STRING}' # Bundle edge Rails instead: - # gem 'rails', :git => 'https://github.com/rails/rails.git' + # gem 'rails', :github => 'rails/rails' GEMFILE end end |