Topic: Update probs

Hi,

for our redmine-installation (=>tool for project planing, ticketing etc.)
we installed ruby on our servers, which worked fine ...

But now we need a rails update (Rails 3.2.3) for a redmine update and
so the troubles began:

So I did the following:

1.) installing ruby 1.9.3

root@information:~#  rvm install 1.9.3

Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...

ruby-1.9.3-p194 - #fetching 
ruby-1.9.3-p194 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p194 (already extracted)
ruby-1.9.3-p194 - #configuring 
ruby-1.9.3-p194 - #compiling 
ruby-1.9.3-p194 - #installing 
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.9.3-p194 ...
Installation of rubygems completed successfully.
ruby-1.9.3-p194 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p194 - #importing default gemsets (/usr/local/rvm/gemsets/)
Install of ruby-1.9.3-p194 - #complete 

root@information:~# ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
root@information:~#
  
root@information:/var/www/redmine# rvm docs generate
Currently 'rvm docs ...' does not work with non-rvm rubies.
root@information:/var/www/redmine# 

2.) updating gem

root@information:/var/www/redmine# gem update
Updating installed gems
Updating actionmailer
Successfully installed i18n-0.6.0
Successfully installed multi_json-1.3.6
Successfully installed activesupport-3.2.5
Successfully installed builder-3.0.0
Successfully installed activemodel-3.2.5
Successfully installed rack-1.4.1
Successfully installed rack-cache-1.2
Successfully installed rack-test-0.6.1
Successfully installed journey-1.0.3
Successfully installed hike-1.2.1
Successfully installed tilt-1.3.3
Successfully installed sprockets-2.1.3
Successfully installed erubis-2.7.0
Successfully installed actionpack-3.2.5
Successfully installed mime-types-1.18
Successfully installed polyglot-0.3.3
Successfully installed treetop-1.4.10
Successfully installed mail-2.4.4
Successfully installed actionmailer-3.2.5
Updating activerecord
Successfully installed arel-3.0.2
Successfully installed activerecord-3.2.5
Updating activeresource
Successfully installed activeresource-3.2.5
Updating bundler
Successfully installed bundler-1.1.4
Updating fastercsv
Successfully installed fastercsv-1.5.5
Updating rails
Building native extensions.  This could take a while...
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Successfully installed rack-ssl-1.3.2
Successfully installed thor-0.15.2
Successfully installed json-1.7.3
Successfully installed rdoc-3.12
Successfully installed railties-3.2.5
Successfully installed rails-3.2.5
Gems updated: i18n, multi_json, activesupport, builder, activemodel, rack, rack-cache, rack-test, journey, hike, tilt, sprockets, erubis, actionpack, mime-types, polyglot, treetop, mail, actionmailer, arel, activerecord, activeresource, bundler, fastercsv, rack-ssl, thor, json, rdoc, railties, rails
Installing ri documentation for i18n-0.6.0...
Installing ri documentation for multi_json-1.3.6...
Installing ri documentation for activesupport-3.2.5...
Installing ri documentation for builder-3.0.0...
Installing ri documentation for activemodel-3.2.5...
Installing ri documentation for rack-1.4.1...
Installing ri documentation for rack-cache-1.2...
Installing ri documentation for rack-test-0.6.1...
Installing ri documentation for journey-1.0.3...
Installing ri documentation for hike-1.2.1...
Installing ri documentation for tilt-1.3.3...
Installing ri documentation for sprockets-2.1.3...
Installing ri documentation for erubis-2.7.0...
Installing ri documentation for actionpack-3.2.5...
Installing ri documentation for mime-types-1.18...
Installing ri documentation for polyglot-0.3.3...
Installing ri documentation for treetop-1.4.10...
Installing ri documentation for mail-2.4.4...
Installing ri documentation for actionmailer-3.2.5...
Installing ri documentation for arel-3.0.2...
Installing ri documentation for activerecord-3.2.5...
Installing ri documentation for activeresource-3.2.5...
Installing ri documentation for bundler-1.1.4...
Installing ri documentation for fastercsv-1.5.5...
Installing ri documentation for rack-ssl-1.3.2...
Installing ri documentation for thor-0.15.2...
Installing ri documentation for json-1.7.3...
Installing ri documentation for rdoc-3.12...
Installing ri documentation for railties-3.2.5...
Installing ri documentation for rails-3.2.5...
Installing RDoc documentation for i18n-0.6.0...
Installing RDoc documentation for multi_json-1.3.6...
Installing RDoc documentation for activesupport-3.2.5...
Installing RDoc documentation for builder-3.0.0...
Installing RDoc documentation for activemodel-3.2.5...
Installing RDoc documentation for rack-1.4.1...
Installing RDoc documentation for rack-cache-1.2...
Installing RDoc documentation for rack-test-0.6.1...
Installing RDoc documentation for journey-1.0.3...
Installing RDoc documentation for hike-1.2.1...
Installing RDoc documentation for tilt-1.3.3...
Installing RDoc documentation for sprockets-2.1.3...
Installing RDoc documentation for erubis-2.7.0...
Installing RDoc documentation for actionpack-3.2.5...
Installing RDoc documentation for mime-types-1.18...
Installing RDoc documentation for polyglot-0.3.3...
Installing RDoc documentation for treetop-1.4.10...
Installing RDoc documentation for mail-2.4.4...
Installing RDoc documentation for actionmailer-3.2.5...
Installing RDoc documentation for arel-3.0.2...
Installing RDoc documentation for activerecord-3.2.5...
Installing RDoc documentation for activeresource-3.2.5...
Installing RDoc documentation for bundler-1.1.4...
Installing RDoc documentation for fastercsv-1.5.5...
Installing RDoc documentation for rack-ssl-1.3.2...
Installing RDoc documentation for thor-0.15.2...
Installing RDoc documentation for json-1.7.3...
Installing RDoc documentation for rdoc-3.12...
Installing RDoc documentation for railties-3.2.5...
Installing RDoc documentation for rails-3.2.5...
root@information:/var/www/redmine# 

3.) trying to update rails

root@information:/var/www/redmine# gem install rails --version '~> 3.2.0'
Successfully installed rails-3.2.5
1 gem installed
Installing ri documentation for rails-3.2.5...
Installing RDoc documentation for rails-3.2.5...
root@information:/var/www/redmine# rails -v
Rails 2.3.5
root@information:/var/www/redmine# 


So my problem is , that I can't really update to rails-3.2.5.
Can you help me here ? 


basicly I we want to run redmine. But when I start the application 
I get a number of error messages. 

root@information:/var/www/redmine# ruby script/server webrick -e production &
[1] 657
root@information:/var/www/redmine# /usr/local/rvm/gems/ruby-1.9.3-p194/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
=> Booting WEBrick
=> Rails 2.3.14 application starting on [url]http://0.0.0.0:3000[/url]
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require': cannot load such file -- mysql (MissingSourceFile)
....

I'm new to ruby. Did I forget installation steps?. Any hint,first steps, how tos or whatever help to get redmine started
or just to update rails would be great!

Thanks in advance for your help?

Cheers,

Ansgar