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! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Jun 26, 4:37 am, Fernando Brito <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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?will_paginate probably doesn''t realise that a non gem version of activesupport is already loaded. Are you using the latest version of will_paginate ? Fred> > Thanks! > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On Jun 26, 4:37�am, Fernando Brito <rails-mailing-l...@andreas-s.net> > wrote: > >> >> 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? > > will_paginate probably doesn''t realise that a non gem version of > activesupport is already loaded. Are you using the latest version of > will_paginate ? > > FredYes. I''m using this version http://github.com/mislav/will_paginate/ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Fixed it commenting s.add_dependency(%q<activesupport>, [">= 1.4.4"]) in gems\specifications\mislav-will_paginate-2.3.2.gemspec Working now :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---