Hello! I cannot force a new application to run, it cannot update gems to the required version. Could you suggest a solution? $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 7.10 Release: 7.10 Codename: gutsy $ ruby -v ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux] $ gem -v 1.2.0 $ sudo gem install rubygems-update Successfully installed rubygems-update-1.3.1 1 gem installed $ sudo gem update --system Updating RubyGems Nothing to update $ script/console Rails requires RubyGems >= 1.3.1 (you have 1.1.0). Please `gem update --system` and try again. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
after installing rubygems-update, just run sudo update_rubygems --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No success :( $ sudo update_rubygems sudo: update_rubygems: command not found $ sudo update-rubygems sudo: update-rubygems: command not found On 9 янв, 11:28, MaD <mayer.domi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> after installing rubygems-update, just run > sudo update_rubygems--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
well, that''s odd. gem list should show you rubygems-update (1.3.1) with that there should be the command update_rubygems available. if not check your gem-directory which can be found by running gem environment for me it is "/usr/lib/ruby/gems/1.8/gems/rubygems-update-1.3.1/bin/ update_rubygems" --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ah, I guess the problem is in the paths! I have changed the standard "gem" command to work by default with Passenger. So, I guess, I should update the Passenger now? Here is an output of your commands: $ gem list -l ... rubygems-update (1.3.1) ... $ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-08-08 patchlevel 286) [i686-linux] - INSTALLATION DIRECTORY: /opt/ruby-enterprise-1.8.6-20080810/lib/ ruby/gems/1.8 - RUBY EXECUTABLE: /opt/ruby-enterprise-1.8.6-20080810/bin/ruby - EXECUTABLE DIRECTORY: /opt/ruby-enterprise-1.8.6-20080810/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - :sources => ["http://gems.rubyforge.org/", "http:// gems.github.com"] - REMOTE SOURCES: - http://gems.rubyforge.org/ - http://gems.github.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> - GEM PATHS: > - /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8you should find the rubygems-update gem there. just go in, locate the bin-directory and start update_rubygems from there. still, to save yourself some trouble. look into your path-variables and make sure everything is working correctly. otherwise you''ll be back here very soon with an other issue. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Exactly, check your paths, or link the standard ruby, gem and rails commands to the desired version... Cheers, Sazima On Jan 9, 11:08 am, Konstantin <rasf...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Ah, I guess the problem is in the paths! > I have changed the standard "gem" command to work by default with > Passenger. So, I guess, I should update the Passenger now? > > Here is an output of your commands: > > $ gem list -l > ... > rubygems-update (1.3.1) > ... > $ gem environment > RubyGems Environment: > - RUBYGEMS VERSION: 1.2.0 > - RUBY VERSION: 1.8.6 (2008-08-08 patchlevel 286) [i686-linux] > - INSTALLATION DIRECTORY: /opt/ruby-enterprise-1.8.6-20080810/lib/ > ruby/gems/1.8 > - RUBY EXECUTABLE: /opt/ruby-enterprise-1.8.6-20080810/bin/ruby > - EXECUTABLE DIRECTORY: /opt/ruby-enterprise-1.8.6-20080810/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86-linux > - GEM PATHS: > - /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - :sources => ["http://gems.rubyforge.org/", "http:// > gems.github.com"] > - REMOTE SOURCES: > -http://gems.rubyforge.org/ > -http://gems.github.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It''s very strange, but I still cannot force the update_rubygems to run correctly. I have tried the full path, but failed: $ sudo /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/ rubygems-update-1.3.1/bin/update_rubygems Error: Cannot find RubyGems Update Path! RubyGems has already been updated. The rubygems-update gem may now be uninstalled. E.g. gem uninstall rubygems-update And I have found a similar problem here: http://www.ruby-forum.com/topic/149288#662187 But unfortunately no new solution.... --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Have you tried downloading the rubygems 1.3.1 source from http://rubyforge.org/frs/?group_id=126 , unpacking, then running "ruby setup.rb" as root in that directory? -- Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---