# Transferring old RoR site.... Problems.... sigh

**URL:** <https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628>\
**Category:** Rails\
**Created:** [June 6, 2009, 12:34am UTC](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628 "2009-06-06T00:34:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 6, 2009, 12:34am UTC](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628/1 "2009-06-06T00:34:44Z")

</div>

Hello all, new to Rails here and am in the process of transferring an  
existing rails site to a new server.

I’ve installed Rails 1.1.6 and Ruby 1.8.4 as well as mongrel and gems  
0.8.10

The problem comes when I attempt to start mongrel by issuing the command

mongrel\_rails start -d

I get the following error message:

\*\* Ruby version is not up-to-date; loading cgi\_multipart\_eof\_fix  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/…/lib/mongrel/gems.rb:12:in  
`require': undefined method`gem’ for Mongrel::Gems:Module  
(NoMethodError)  
from  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/…/lib/mongrel.rb:355  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require’  
from  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel\_rails:11  
from /usr/local/bin/mongrel\_rails:18

It seems to be telling me to update Ruby, however I’m afraid if I do  
that the app will not function properly.

I installed the most current version of Mongrel… perhaps I should  
install an older version? If so what version?

Also, I’m open to any ideas/suggestions/guidance you may be able to  
provide, thanks in advance!

---

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 6, 2009, 1:22am UTC](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628/2 "2009-06-06T01:22:11Z")

</div>

On Jun 5, 11:34 pm, Rusty Rustybucket \<rails-mailing-l…@andreas-  
[s.net](http://s.net)\> wrote:

> I get the following error message:
> 
> \*\* Ruby version is not up-to-date; loading cgi\_multipart\_eof\_fix  
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/…/lib/mongrel/gems.rb: 12:in  
> `require': undefined method `gem’ for Mongrel::Gems:Module  
> (NoMethodError)

That’s a really really old version of rubygems, but quite a new  
version of mongrel. There used to be a method in rubygems called  
require\_gem, but later on that was renamed to just gem, which mongrel  
is trying to call but which doesn’t exist in your version of rubygems.  
If you do update rubygems then you’ll probably run into the fact that  
your version of rails (or the boot.rb script in your app) is still  
using require\_gem, but require\_gem was eventually removed from  
rubygems. It should just be a matter of replacing calls to require\_gem  
with calls to gem.

Fred

---

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 6, 2009, 1:47am UTC](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628/3 "2009-06-06T01:47:29Z")

</div>

> That’s a really really old version of rubygems, but quite a new  
> version of mongrel. There used to be a method in rubygems called  
> require\_gem, but later on that was renamed to just gem, which mongrel  
> is trying to call but which doesn’t exist in your version of rubygems.  
> If you do update rubygems then you’ll probably run into the fact that  
> your version of rails (or the boot.rb script in your app) is still  
> using require\_gem, but require\_gem was eventually removed from  
> rubygems. It should just be a matter of replacing calls to require\_gem  
> with calls to gem.
> 
> Fred

That’s what I was thinking… Anyone got a suggestion of what version  
of mongrel to try and run?

Or possibly better, how do I determine what version of mongrel is  
running on the current server.

mongrel -v

??

---

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 6, 2009, 3:17am UTC](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628/4 "2009-06-06T03:17:56Z")

</div>

On Jun 5, 4:47 pm, Rusty Rustybucket \<rails-mailing-l…@andreas-  
[s.net](http://s.net)\> wrote:

> > Fred
> 
> That’s what I was thinking… Anyone got a suggestion of what version  
> of mongrel to try and run?
> 
> Or possibly better, how do I determine what version of mongrel is  
> running on the current server.

gem list mongrel --local

if you have more than one version installed, it’ll be listed there.  
easiest thing to do seems to be to just uninstall your latest version  
that’s giving you problems, then upgrading the app more gradually  
later.
