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
|
preamble = <<STR
|
||||||
# Edit this Gemfile to bundle your application's dependencies.
|
# Edit this Gemfile to bundle your application's dependencies.
|
||||||
# This preamble is the current preamble for Rails 3 apps; edit as needed.
|
# This preamble is the current preamble for Rails 3 apps; edit as needed.
|
||||||
directory "/path/to/rails", :glob => "{*/,}*.gemspec"
|
path "/path/to/rails", :glob => "{*/,}*.gemspec"
|
||||||
git "git://github.com/rails/arel.git"
|
|
||||||
git "git://github.com/rails/rack.git"
|
git "git://github.com/rails/rack.git"
|
||||||
|
|
||||||
gem "rails", "3.0.pre"
|
gem "rails", "3.0.pre"
|
||||||
|
|
||||||
STR
|
STR
|
||||||
preamble + "\n" + generate_upgraded_code
|
preamble + "\n" + generate_upgraded_code
|
||||||
end
|
end
|
||||||
|
@ -22,9 +22,9 @@ class GemfileGeneratorTest < ActiveSupport::TestCase
|
|||||||
PREAMBLE = <<STR
|
PREAMBLE = <<STR
|
||||||
# Edit this Gemfile to bundle your application's dependencies.
|
# Edit this Gemfile to bundle your application's dependencies.
|
||||||
# This preamble is the current preamble for Rails 3 apps; edit as needed.
|
# This preamble is the current preamble for Rails 3 apps; edit as needed.
|
||||||
directory "/path/to/rails", :glob => "{*/,}*.gemspec"
|
path "/path/to/rails", :glob => "{*/,}*.gemspec"
|
||||||
git "git://github.com/rails/arel.git"
|
|
||||||
git "git://github.com/rails/rack.git"
|
git "git://github.com/rails/rack.git"
|
||||||
|
|
||||||
gem "rails", "3.0.pre"
|
gem "rails", "3.0.pre"
|
||||||
|
|
||||||
STR
|
STR
|
||||||
|
Loading…
Reference in New Issue
Block a user