diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-03-30 15:58:38 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-03-30 15:58:39 +0530 |
commit | 51908718227f2cef80113d85a0fb9eb65ded3f4e (patch) | |
tree | 6e4763c5dfee044c0e90942c1e411f00f6e43145 | |
parent | 6d8c070821bc846eb263b8c045ae652ebd751569 (diff) | |
download | rails-51908718227f2cef80113d85a0fb9eb65ded3f4e.tar.gz rails-51908718227f2cef80113d85a0fb9eb65ded3f4e.tar.bz2 rails-51908718227f2cef80113d85a0fb9eb65ded3f4e.zip |
fix upgrading guide [ci skip]
I see no need to list the Gemfile contents (twice!) to convey this
message.
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 9a667999fd..a2ba5dd062 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -33,29 +33,7 @@ The following changes are meant for upgrading your application to Rails 4.0. ### Gemfile -Rails 4.0 removed the *group :assets* from Gemfile (now you can use only :test, :development and/or :production groups). So change your Gemfile from: -```ruby -group :assets do - gem 'sass-rails', '~> 4.0.0.beta1' - gem 'coffee-rails', '~> 4.0.0.beta1' - - # See https://github.com/sstephenson/execjs#readme for more supported runtimes - # gem 'therubyracer', platforms: :ruby - - gem 'uglifier', '>= 1.0.3' -end -``` -to: -```ruby -gem 'sass-rails', '~> 4.0.0.beta1' -gem 'coffee-rails', '~> 4.0.0.beta1' - -# See https://github.com/sstephenson/execjs#readme for more supported runtimes -# gem 'therubyracer', platforms: :ruby - -gem 'uglifier', '>= 1.0.3' -``` -**note:** don't removing the *group assets* from the Gemfile will cause your assets stop compiling +Rails 4.0 removed the `assets` group from Gemfile. You'd need to remove that line from your Gemfile when upgrading. ### vendor/plugins |