On 3 November 2011 10:44, Craig White <craigwh...@azapple.com> wrote: > On Thu, 2011-11-03 at 05:34 +0100, MaT 2. wrote: >> for the first command it can be execute correctly >> after i change sudo gem install rubygems -v="1.4.2" to >> sudo gem install rubygems -v 1.4.2 but for second command i got problem >> to run. the error as below: >> >> sudo update_rubygems >> sudo: update_rubygems: command not found >> >> and all other command display same error as before. > ---- > If you installed rubygems it would seem impossible for the command > update_rubygems not to be found. Perhaps it is not installed. > > Perhaps someone is familiar with Ubuntu's ruby packages and can guide > you with what it is that isn't working right. Generally, the > distribution packages lag too far behind and seem to be an obstruction > which is one of the reasons why things like rvm have become popular.
I strongly suggest that for rails on Ubuntu you use the method from http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ as an earlier poster already suggested. You are in for a great deal of pain trying to do it using the ubuntu repositories. Colin > > I suppose the way to install it would be... > sudo apt-get install rubygems > > On my ubuntu 10.04 LTS (but not using any Ubuntu ruby packages > whatsoever because I use the enterprise ruby packages) > > If rubygems package is installed, you should be able to easily run 'sudo > update rubygems' > > Craig > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- > 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@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- gplus.to/clanlaw -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.