aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-12-04 11:54:34 +0100
committerYves Senn <yves.senn@gmail.com>2013-12-04 11:54:34 +0100
commit828a8f214535e59d709fd4862605902d1cc21632 (patch)
treec9cd0676ab08d301a5265a5258406b43b799eb2d /guides/source/upgrading_ruby_on_rails.md
parent6f72a6b53afda51a73af69194ed0060ea5048fa9 (diff)
downloadrails-828a8f214535e59d709fd4862605902d1cc21632.tar.gz
rails-828a8f214535e59d709fd4862605902d1cc21632.tar.bz2
rails-828a8f214535e59d709fd4862605902d1cc21632.zip
add Spring as major feature in the 4.1 release notes. [ci skip]
Follow up to #12958.
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.md')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index 8ad7e62789..f9d5332754 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -27,6 +27,18 @@ Upgrading from Rails 4.0 to Rails 4.1
NOTE: This section is a work in progress.
+### Spring
+
+If you want to use Spring as your application preloader you need to:
+
+1. add `gem 'spring', group: :development` to your `Gemfile`.
+2. install spring using `bundle install`.
+3. springify your binstubs with `bundle exec spring binstub --all`.
+
+NOTE: User defined rake tasks will run in the `development` environment by
+default. If you want them to run in other environments consult the
+[Spring README](https://github.com/jonleighton/spring#rake).
+
### Changes in JSON handling
The are a few major changes related to JSON handling in Rails 4.1.