Hassan, so you deploy your applications on a macbook pro, do you?

Nine out of ten apps are deployed onto a Linux machine; the majority of
those are Ubuntu(Of course, Debian based). That means you need to figure out
how to make rubygems work nicely there. You can install rubygems from
source, or you can install upgrade_rubygems which essentially does the same
thing. Both of these circumvent the package management system; not a good
idea.

The correct way to do it is to use backports. For Debian you can get to
rubygems 1.3.4 by using this backport:
http://packages.debian.org/lenny-backports/rubygems1.8  (1.9 is also
available)

Instructions on how to do it:
http://www.backports.org/dokuwiki/doku.php?id=instructions

Foing outside the package management system is almost always a bad move. As
soon as you do that it is much more difficult to backup and replicate that
machine.

Hope this helps
-Jeremy


On Sat, Feb 27, 2010 at 11:52 AM, Hassan Schroeder <
[email protected]> wrote:

> On Sat, Feb 27, 2010 at 8:24 AM, Ken Paul <[email protected]> wrote:
> > Rails 3 requires bundler to be installed, but bundler can't be installed
> > on Debian lenny because the gem version 1.2 is too old, an attempt
> > update is also failed, any idea?
>
> Several:
>
> 1) don't use Debian
> 2) don't rely on *any* brain-dead, perpetually out-of-date package
>    management system
> 3) remove anything ruby/rails-related from your system and install
>    fresh from source
>
> At least, that's what I would do... :-)
>
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to