I attempted to install rails, with these error messages: $ sudo gem install rails ERROR: Error installing rails: actionpack requires rack (~> 1.0.0, runtime) $ sudo gem install rack Successfully installed rack-1.1.0 1 gem installed $ sudo gem install rails ERROR: Error installing rails: actionpack requires rack (~> 1.0.0, runtime) Why does gem install a current version of rack which is incompatible with the current version of rails? Moreover, why doesn''t install of rails include the proper rack dependency? -- 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.
On Feb 4, 2010, at 9:28 AM, RonL wrote:> I attempted to install rails, with these error messages: > > $ sudo gem install rails > ERROR: Error installing rails: > actionpack requires rack (~> 1.0.0, runtime) > > $ sudo gem install rack > Successfully installed rack-1.1.0 > 1 gem installedTry installing rack 1.0.1 ~> 1.0.0 means ">= 1.0.0" && "< 1.1" However, 1.1.0 is not "< 1.1" irb> req=Gem::Requirement.new("~>1.0.0") => #<Gem::Requirement:0x641ae0 @requirements=[["~>", #<Gem::Version "1.0.0">]], @version=nil> irb> req.satisfied_by? Gem::Version.new("1.0.1") => true irb> req.satisfied_by? Gem::Version.new("1.1.0") => false -Rob> $ sudo gem install rails > ERROR: Error installing rails: > actionpack requires rack (~> 1.0.0, runtime) > > Why does gem install a current version of rack which is incompatible > with the current version of rails? Moreover, why doesn''t install of > rails include the proper rack dependency? > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org -- 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.
Did you get this solved I have similar issue and am stuck On Feb 4, 9:28 am, RonL <rlamb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I attempted to install rails, with these error messages: > > $ sudo gem install rails > ERROR: Error installing rails: > actionpack requires rack (~> 1.0.0, runtime) > > $ sudo gem install rack > Successfully installed rack-1.1.0 > 1 gem installed > > $ sudo gem install rails > ERROR: Error installing rails: > actionpack requires rack (~> 1.0.0, runtime) > > Why does gem install a current version of rack which is incompatible > with the current version of rails? Moreover, why doesn''t install of > rails include the proper rack dependency?-- 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.
Sean wrote:> Did you get this solved I have similar issue and am stucki got past this by installing rake =) sudo gem install rake -- 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.