Paulo Cassiano
2012-Mar-31 03:00 UTC
Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)
I''m trying to install Ruby on Rails on Ubuntu 11.10, but receiving this error: $ sudo gem install rails ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: rails requires activesupport (3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3) How can I fix this? Note: Git (1.7.5.4 ) and Ruby (1.9.2p290) are installed properly. -- 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.
Leonardo Mateo
2012-Mar-31 03:30 UTC
Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)
On Sat, Mar 31, 2012 at 12:00 AM, Paulo Cassiano <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I''m trying to install Ruby on Rails on Ubuntu 11.10, but receiving this > error: > > $ sudo gem install rails > ERROR: While executing gem ... (Gem::DependencyError) > Unable to resolve dependencies: rails requires activesupport (> 3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (> 3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3) > > > How can I fix this? > > Note: Git (1.7.5.4 ) and Ruby (1.9.2p290) are installed properly. >How did you installed Ruby? Do you have an updated rubygems? -- Leonardo Mateo. There''s no place like ~ -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Alex Mercer
2012-Mar-31 20:25 UTC
Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)
gem update --system On Saturday, March 31, 2012 6:00:19 AM UTC+3, Ruby-Forum.com User wrote:> > I''m trying to install Ruby on Rails on Ubuntu 11.10, but receiving this > error: > > $ sudo gem install rails > ERROR: While executing gem ... (Gem::DependencyError) > Unable to resolve dependencies: rails requires activesupport (> 3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (> 3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3) > > > How can I fix this? > > Note: Git (1.7.5.4 ) and Ruby (1.9.2p290) are installed properly. > > -- > 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 view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/10czl1b24KkJ. 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.
Leonardo Mateo
2012-Mar-31 22:10 UTC
Re: Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)
On Sat, Mar 31, 2012 at 5:25 PM, Alex Mercer <alexey.bobyrev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> gem update --systemActually, that might not work on a Debian based distro if rubygems has been installed via apt packages. That''s why I asked how Ruby was installed. -- Leonardo Mateo. There''s no place like ~ -- 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.
Colin Law
2012-Apr-01 07:52 UTC
Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)
On 31 March 2012 04:00, Paulo Cassiano <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I''m trying to install Ruby on Rails on Ubuntu 11.10, but receiving this > error: > > $ sudo gem install rails > ERROR: While executing gem ... (Gem::DependencyError) > Unable to resolve dependencies: rails requires activesupport (> 3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (> 3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3)I strongly advise that you use rvm to install ruby and rails (I am assuming that you are not using rvm as you have used sudo on gem install). Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
YogiZoli
2012-Apr-02 21:06 UTC
Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)
Hi, Colin is right, using RVM has lots of advantages! You can have multiple Rubies and Gem versions, Gemsets for projects, etc. Highly recommend because without it you''re gonna have a tone of Gem version problems later. We made a 1 line script for Ubuntu which installs Wayne''s RVM, with RVM installs a Ruby version 1.9.2 then creates a Gemset which installs Rails3.2. Just updated it for you! :) Would be great if you''d give a try. Report me back how it worked please, I''d like to publish it. https://github.com/YogiZoli/RVMinstallerForUbuntu Welcome on Rails! YogiZoli On Apr 1, 9:52 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 31 March 2012 04:00, Paulo Cassiano <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > > I''m trying to install Ruby on Rails on Ubuntu 11.10, but receiving this > > error: > > > $ sudo gem install rails > > ERROR: While executing gem ... (Gem::DependencyError) > > Unable to resolve dependencies: rails requires activesupport (> > 3.2.3), actionpack (= 3.2.3), activerecord (= 3.2.3), activeresource (> > 3.2.3), actionmailer (= 3.2.3), railties (= 3.2.3) > > I strongly advise that you use rvm to install ruby and rails (I am > assuming that you are not using rvm as you have used sudo on gem > install). > > Colin-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.