I’ve just updated the Ruby on Rails Tutorial book for the newest Rails release, Rails 4.0.1. If you’re updating your sample_app to Rails 4.0.1, you’ll need to change
3.1.2, as seen in the reference sample app Gemfile:
source 'https://rubygems.org' ruby '2.0.0' #ruby-gemset=railstutorial_rails_4_0 gem 'rails', '4.0.1' gem 'bootstrap-sass', '184.108.40.206' gem 'bcrypt-ruby', '3.1.2' . . .
bundle install bundle update bundle install rspec spec/
(I’m actually not sure if both calls to
bundle install are necessary, but they can’t hurt.)
As far as I can tell, there are no changes between Rails 4.0.0 and 4.0.1 that affect the Rails Tutorial, but please let me know if you run into any issues.