# Freeze and dependence problems?

**URL:** <https://www.ruby-forum.com/t/freeze-and-dependence-problems/141469>\
**Category:** Rails\
**Created:** [June 26, 2008, 5:37am UTC](https://www.ruby-forum.com/t/freeze-and-dependence-problems/141469 "2008-06-26T05:37:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferblape](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/73ab20/32.png) [@ferblape](https://www.ruby-forum.com/u/ferblape)\
**Post date:** [June 26, 2008, 5:37am UTC](https://www.ruby-forum.com/t/freeze-and-dependence-problems/141469/1 "2008-06-26T05:37:35Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![ferblape](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/73ab20/32.png) [@ferblape](https://www.ruby-forum.com/u/ferblape)\
**Post date:** [June 26, 2008, 9:53am UTC](https://www.ruby-forum.com/t/freeze-and-dependence-problems/141469/2 "2008-06-26T09:53:00Z")

</div>

On Jun 26, 4:37 am, Fernando B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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

---

<div class="post-metadata">

**Author:** ![ferblape](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/73ab20/32.png) [@ferblape](https://www.ruby-forum.com/u/ferblape)\
**Post date:** [June 27, 2008, 6:06am UTC](https://www.ruby-forum.com/t/freeze-and-dependence-problems/141469/3 "2008-06-27T06:06:26Z")

</div>

Frederick C. wrote:

> On Jun 26, 4:37ï¿½am, Fernando B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> 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

Yes. I’m using this version

> **[GitHub - mislav/will\_paginate: Pagination library for Rails and other Ruby...](https://github.com/mislav/will_paginate/)**
>
> Pagination library for Rails and other Ruby applications - GitHub - mislav/will\_paginate: Pagination library for Rails and other Ruby applications

---

<div class="post-metadata">

**Author:** ![ferblape](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/73ab20/32.png) [@ferblape](https://www.ruby-forum.com/u/ferblape)\
**Post date:** [June 27, 2008, 7:15am UTC](https://www.ruby-forum.com/t/freeze-and-dependence-problems/141469/4 "2008-06-27T07:15:54Z")

</div>

Fixed it commenting

s.add\_dependency(%q, ["\>= 1.4.4"])

in gems\specifications\mislav-will\_paginate-2.3.2.gemspec

Working now 🙂
