mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Don't use :path in Gemfile for --dev except for Rails.
This commit is contained in:
@@ -138,7 +138,7 @@ module Rails
|
||||
if options.dev?
|
||||
<<-GEMFILE.strip_heredoc
|
||||
gem 'rails', :path => '#{Rails::Generators::RAILS_DEV_PATH}'
|
||||
gem 'journey', :path => '#{Rails::Generators::JOURNEY_DEV_PATH}'
|
||||
gem 'journey', :git => 'git://github.com/rails/journey.git'
|
||||
GEMFILE
|
||||
elsif options.edge?
|
||||
<<-GEMFILE.strip_heredoc
|
||||
|
||||
@@ -144,8 +144,6 @@ module Rails
|
||||
# We need to store the RAILS_DEV_PATH in a constant, otherwise the path
|
||||
# can change in Ruby 1.8.7 when we FileUtils.cd.
|
||||
RAILS_DEV_PATH = File.expand_path("../../../../../..", File.dirname(__FILE__))
|
||||
JOURNEY_DEV_PATH = File.expand_path("../../../../../../../journey", File.dirname(__FILE__))
|
||||
|
||||
RESERVED_NAMES = %w[application destroy benchmarker profiler plugin runner test]
|
||||
|
||||
class AppGenerator < AppBase
|
||||
|
||||
Reference in New Issue
Block a user