i install ruby 1.8.8 on ubuntu and when i install rubygem by code are:> wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz >tar xzvf rubygems-1.3.1.tgz >cd rubygems-1.3.1but i used this command is > sudo ruby setup.rb i get error is>/home/test/rubygems-1.3.1/lib/rubygems/version.rb:53:in `initialize'': Malformed version number string 1.8.8.-1 (ArgumentError)from /home/test/rubygems-1.3.1/lib/rubygems.rb:676:in `new'' from /home/test/rubygems-1.3.1/lib/rubygems.rb:676:in `ruby_version'' from setup.rb:111 pls ,give comment for me what wrong in the installation 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 -~----------~----~----~----~------~----~------~--~---
On Mar 11, 8:00 am, "pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i install ruby 1.8.8 on ubuntuDo you really want to use an unfinished, unstable version of ruby? Fred> and when i install rubygem by code are:> wgethttp://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz > >tar xzvf rubygems-1.3.1.tgz > >cd rubygems-1.3.1 > > but i used this command is > sudo ruby setup.rb > i get error is>/home/test/rubygems-1.3.1/lib/rubygems/version.rb:53:in `initialize'': Malformed version number string 1.8.8.-1 (ArgumentError) > > from /home/test/rubygems-1.3.1/lib/rubygems.rb:676:in `new'' > from /home/test/rubygems-1.3.1/lib/rubygems.rb:676:in `ruby_version'' > from setup.rb:111 > > pls ,give comment for me what wrong in the installation 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 -~----------~----~----~----~------~----~------~--~---
I would recommend just going with the version of Ruby Ubuntu installs by default and running with that for now, unless there is a specific reason to be running with 1.8.8 for you. On Mar 11, 3:00 am, "pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i install ruby 1.8.8 on ubuntu > and when i install rubygem by code are:> wgethttp://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz > >tar xzvf rubygems-1.3.1.tgz > >cd rubygems-1.3.1 > > but i used this command is > sudo ruby setup.rb > i get error is>/home/test/rubygems-1.3.1/lib/rubygems/version.rb:53:in `initialize'': Malformed version number string 1.8.8.-1 (ArgumentError) > > from /home/test/rubygems-1.3.1/lib/rubygems.rb:676:in `new'' > from /home/test/rubygems-1.3.1/lib/rubygems.rb:676:in `ruby_version'' > from setup.rb:111 > > pls ,give comment for me what wrong in the installation 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 -~----------~----~----~----~------~----~------~--~---
If you change line 5 of version.h from #define RUBY_PATCHLEVEL -1 to #define RUBY_PATCHLEVEL 1 rubygems won''t complain. Regards, Troy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---