With Ruby on Rails 2.1 version already here, I have seen a lot of new comers to Rails using second version Agile book asking this question again and again:
Why doesn’t my depot application work?
Well because it is based on version 1.2.3.
Here is a simple way to get it working.
- Delete your old Depot app.
Install rails gem version 1.2.3 to support old apps
sudo gem install -v=1.2.3 rails
Recreate the depot app using the following command
rails \_1.2.3\_ depot
Using the above command will create app using version 1.2.3, otherwise rails will use latest version. - Enjoy!
Another option would be to subscribe to the 3rd Edition of the AWDWR book in downloadable pdf format from the Pragmatic Programmers (http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition). It’s being updated to version 2.1.
True Ken. However because it is till in Beta, things are going to change and that might confuse the newcomers even more.