Muralitharan A.
2013-Dec-04 18:10 UTC
Getting OptionParser::InvalidOption error while installing rails
Hi, Topic : Ruby On Rails Issue : Error while installing rails using rubygems. Description: Am using ruby 1.9.3p194 and rubygems-2.1.7 on Ubuntu 12.0. Getting the below error when trying to install Rails using rubyGems. gem install rails --include-dependencies ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: --include-dependencies Any sort of help is much appreciated. Regards, Muralitharan A -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3d8224ec2edfac7aa7675c8f6952e394%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Thomas Murphy
2013-Dec-04 18:15 UTC
Re: Getting OptionParser::InvalidOption error while installing rails
On Wed, Dec 4, 2013 at 1:10 PM, Muralitharan A. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> Hi, > > Topic : Ruby On Rails > Issue : Error while installing rails using rubygems. > > Description: > > Am using ruby 1.9.3p194 and rubygems-2.1.7 on Ubuntu 12.0. > > Getting the below error when trying to install Rails using rubyGems. > > gem install rails --include-dependencies > ERROR: While executing gem ... (OptionParser::InvalidOption) > invalid option: --include-dependencies > > Is --include-dependencies a valid flag?I don''t see it when I call gem help install from the command line> Any sort of help is much appreciated. > > Regards, > Muralitharan A > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/3d8224ec2edfac7aa7675c8f6952e394%40ruby-forum.com > . > For more options, visit https://groups.google.com/groups/opt_out. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALgvumU%3DX%3Dz3J4zA_W7Ok468__HCMGu7vvjMJfqXVDYqWRnO1A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Dec-04 21:19 UTC
Re: Getting OptionParser::InvalidOption error while installing rails
On 4 December 2013 18:10, Muralitharan A. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > Topic : Ruby On Rails > Issue : Error while installing rails using rubygems. > > Description: > > Am using ruby 1.9.3p194 and rubygems-2.1.7 on Ubuntu 12.0.There is not a Ubuntu 12.0. Perhaps you mean 12.04. I recommend using rvm to install and manage RoR. https://rvm.io/ Others suggest rbenv but I have no experience of that. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvcbzR1s9DsGg7iH%2BuvjbeNtJ6nCSO0-y5Rgk9ho8ezUA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Muralitharan A.
2013-Dec-06 08:16 UTC
Re: Getting OptionParser::InvalidOption error while installing rails
Colin Law wrote in post #1129611:> On 4 December 2013 18:10, Muralitharan A. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> Hi, >> >> Topic : Ruby On Rails >> Issue : Error while installing rails using rubygems. >> >> Description: >> >> Am using ruby 1.9.3p194 and rubygems-2.1.7 on Ubuntu 12.0. > > There is not a Ubuntu 12.0. Perhaps you mean 12.04. I recommend > using rvm to install and manage RoR. https://rvm.io/ > > Others suggest rbenv but I have no experience of that. > > ColinThanks Colin and Thomas for your suggestion. I tried with rvm to install rails and am able to do it with out any issue... -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/83b51e38363078ad472e47d18cfc656e%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.