Permalink
Browse files

Don't use :path in Gemfile for --dev except for Rails.

  • Loading branch information...
1 parent be27bf1 commit 4e9729df3f03ee16445082b7d386ee14b4370461 @josevalim josevalim committed Oct 19, 2011
@@ -138,7 +138,7 @@ def rails_gemfile_entry
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 Generators
# 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

1 comment on commit 4e9729d

Member

sikachu commented on 4e9729d Oct 20, 2011

YAY!!!

Please sign in to comment.