New to Rails and using Agile book second version?

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!

This entry was posted in Rails and tagged . Bookmark the permalink.

2 Responses to New to Rails and using Agile book second version?

  1. Ken says:

    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.

  2. True Ken. However because it is till in Beta, things are going to change and that might confuse the newcomers even more.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">