Update preamble to work with bundler 0.9
This commit is contained in:
parent
dd6c92d99d
commit
328e4de9fd
@ -60,10 +60,11 @@ module Rails
|
||||
preamble = <<STR
|
||||
# Edit this Gemfile to bundle your application's dependencies.
|
||||
# This preamble is the current preamble for Rails 3 apps; edit as needed.
|
||||
directory "/path/to/rails", :glob => "{*/,}*.gemspec"
|
||||
git "git://github.com/rails/arel.git"
|
||||
path "/path/to/rails", :glob => "{*/,}*.gemspec"
|
||||
git "git://github.com/rails/rack.git"
|
||||
|
||||
gem "rails", "3.0.pre"
|
||||
|
||||
STR
|
||||
preamble + "\n" + generate_upgraded_code
|
||||
end
|
||||
|
@ -22,9 +22,9 @@ class GemfileGeneratorTest < ActiveSupport::TestCase
|
||||
PREAMBLE = <<STR
|
||||
# Edit this Gemfile to bundle your application's dependencies.
|
||||
# This preamble is the current preamble for Rails 3 apps; edit as needed.
|
||||
directory "/path/to/rails", :glob => "{*/,}*.gemspec"
|
||||
git "git://github.com/rails/arel.git"
|
||||
path "/path/to/rails", :glob => "{*/,}*.gemspec"
|
||||
git "git://github.com/rails/rack.git"
|
||||
|
||||
gem "rails", "3.0.pre"
|
||||
|
||||
STR
|
||||
|
Loading…
Reference in New Issue
Block a user