versions of rails

Hi

I am using fedora 8 with Rails version 2.0.2. But i need to change to
version 0.12.1. I have loaded 0.12.1 with

gem install rails --version 0.12.1

It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i try
to add this linse to config/envrionment.rb

# Require Rails libraries.
require 'rubygems'
require_gem 'activesupport', '= 1.0.4'
require_gem 'activerecord', '= 1.10.1'
require_gem 'actionpack', '= 1.8.1'
require_gem 'actionmailer', '= 0.9.1'
require_gem 'actionwebservice', '= 0.7.1'
require_gem 'rails', '= 0.12.1'

these lines are after line
require File.join(File.dirname(__FILE__), 'boot')

and rebooting after those changes, rails will start but will give
error : Rails application failed to start properly

Can somebody help me to use version 0.12.1 in my application
environment

Hi

I am using fedora 8 with Rails version 2.0.2. But i need to change to
version 0.12.1. I have loaded 0.12.1 with

gem install rails --version 0.12.1

It went fine and now i have 2.0.2 and 0.12.1 verisons, but when i try
to add this linse to config/envrionment.rb

# Require Rails libraries.
require 'rubygems'
require_gem 'activesupport', '= 1.0.4'
require_gem 'activerecord', '= 1.10.1'
require_gem 'actionpack', '= 1.8.1'
require_gem 'actionmailer', '= 0.9.1'
require_gem 'actionwebservice', '= 0.7.1'
require_gem 'rails', '= 0.12.1'

If you've a recent version of rubygems require_gem doesn't exist any
more. Also check your logs for more informative error messages. (and
are you sure you need 0.12.1 rather than 1.2.1 ? 0.12.1 is positively
ancient (3 years old or something))

Fred

Fred

I'm doing this tutorial http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf
.Thats why i need to use version 0.12.1. The tutorial uses
scaffolding. In version 2.0.2 there's no scaffolding, am I right?

I'm doing this tutorial http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf
.Thats why i need to use version 0.12.1. The tutorial uses
scaffolding. In version 2.0.2 there's no scaffolding, am I right?

The scaffolding is indeed different in 2.0.2. I really think you're
wasting your time going through a tutorial for a 3 year old version of
rails. So much stuff has changed (eg 0.12 has no migrations, loads of
functions have been deprecated/renamed (eg find_all => find :all,
@params => params) and lots of stuff has been added).

Fred

Yeah. I have wondering same thing, do I waste my time. But this is a
school project so I have to do it. But do you know any good tutorials
which is updated to newst version?