From 51908718227f2cef80113d85a0fb9eb65ded3f4e Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sat, 30 Mar 2013 15:58:38 +0530 Subject: fix upgrading guide [ci skip] I see no need to list the Gemfile contents (twice!) to convey this message. --- guides/source/upgrading_ruby_on_rails.md | 24 +----------------------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3