Forum: Rails deployment Deployment failing due to invalid rubygems on server

Posted by Chris Olsen (chrisolsen)
on 2009-12-09 04:48
I am getting the following message when deploying with capistrano.
However, I do have the latest version  (1.3.5) of rubygems installed on
the server.

> Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please `gem update --system` and try again

I have found a few posts regarding this error, but none of the solutions
have worked for me.

Has anyone seen this before and have a solution?

Thanks for the help.
Posted by Max Williams (max-williams)
on 2009-12-18 17:39
Chris Olsen wrote:
> I am getting the following message when deploying with capistrano.
> However, I do have the latest version  (1.3.5) of rubygems installed on
> the server.
> 
>> Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please `gem update --system` and try again
> 
> I have found a few posts regarding this error, but none of the solutions
> have worked for me.
> 
> Has anyone seen this before and have a solution?
> 
> Thanks for the help.

Maybe the problem is at your end rather than the server end?  Make sure 
your local environment has the same gems as the server, and the same 
version of rubygems.
Posted by Chris Olsen (chrisolsen)
on 2009-12-18 19:32
Sorry for the lack of an update.  The reason was that I had ruby 1.8 and 
1.9 installed on the system each with own set of gems.  The ruby 1.8 had 
the latest version of rubygems while 1.9 had an older version.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.