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? # gem update --system ERROR: While executing gem ... (RuntimeError) gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Feb 27, 2010 at 8:24 AM, Ken Paul <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> 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 ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanYes, Rubygems must be installed from source. Depending on your tastes, Ruby can also be installed from source. Disregard 1 & 2 as they are just trolls. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Feb 27, 2010 at 10:40 AM, Fernando Perez <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Disregard 1 & 2 as they are just trolls.Au contraire - I see so many cases of people struggling with problems directly caused by "the Debian way" of packaging 3rd-party software (not just Ruby-related). The OP''s problem is exactly that; pointing it out is hardly a "troll". -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> > Yes, Rubygems must be installed from source. Depending on your tastes, > Ruby can also be installed from source. > > Disregard 1 & 2 as they are just trolls.what about ubuntu Linux, does it also provide out dated rails related resources? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 < hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, Feb 27, 2010 at 8:24 AM, Ken Paul <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sun, Feb 28, 2010 at 9:59 AM, Jeremy Chase <jeremychase-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hassan, so you deploy your applications on a macbook pro, do you?No, I develop primarily on a Mac, but I deploy (mostly) to Linux. No Ubuntu, though :-)> Both of these circumvent the package management system; not a good > idea.> 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.Well, that''s where we disagree; I don''t use the package management system for anything specific to my application. I certainly don''t need someone else determining that I should run some down-level hacked up version of the software I want. And I see no reason that implies any problems with either backup or replication of a system. At least, that hasn''t been my experience. YMMV! -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.