Hello
I have a server using Rails 1.1.6
So I developed my application on my computer, with Rails 2.1
After that I did a rake rails:freeze:gems. That sent Rail gems was sent
to /vendor/rails
I sent my application to server, configured, and everything was working
fine, using Rails 2.1 Freezed Version.
Now I need to install a plugin (will_paginate).
But when I try to ‘require’ it, it says my Active Support is too old.
$ruby script/about
Ruby version 1.8.5 (i386-linux)
RubyGems version 1.1.1
Rails version 2.1.0
Active Record version 2.1.0
Action Pack version 2.1.0
Active Resource version 2.1.0
Action Mailer version 2.1.0
Active Support version 2.1.0
Edge Rails revision unknown
Application root /home/username/app/
Environment development
Database adapter mysql
Database schema version 0
#environment.rb
RAILS_GEM_VERSION = ‘2.1.0’ unless defined? RAILS_GEM_VERSION
$ruby script/console
RAILS_GEM_VERSION
=> “2.1.0”require “rubygems”
=> []require “will_paginate”
Gem::LoadError: RubyGem version error: activesupport(1.1.0 not >= 1.4.4)
from /usr/lib/site_ruby/1.8/rubygems.rb:523:in
report_activate_error' from /usr/lib/site_ruby/1.8/rubygems.rb:131:in
activate’
[…]
See? Application is freezed in 2.1 and script/about confirm that
When I try to require, it says my gems are 1.1.0!
Anyone know what can I do?
Thanks!