Does Rack come with Rails or do I need to install the gem? -- 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.
Pål Bergström wrote:> Does Rack come with Rails or do I need to install the gem?Rack is a dependency of Rails so it will get installed when you install the Rails gems. Also keep in mind certain versions of Rails requires a certain version of Rack. Sometimes even an older one than the current. If in doubt just run: sudo gem install rails -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Robert Walker wrote:> Rack is a dependency of Rails so it will get installed when you install > the Rails gems. Also keep in mind certain versions of Rails requires a > certain version of Rack. Sometimes even an older one than the current. > > If in doubt just run: > > sudo gem install railsHow do I access rack from a rails app? -- 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.
On Jul 27, 4:35 pm, Pål Bergström <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Robert Walker wrote: > > Rack is a dependency of Rails so it will get installed when you install > > the Rails gems. Also keep in mind certain versions of Rails requires a > > certain version of Rack. Sometimes even an older one than the current. > > > If in doubt just run: > > > sudo gem install rails > > How do I access rack from a rails app?Typically, unless you were writing a metal or some rack middleware, you wouldn''t directly. Rack is (mostly) just the glue between the web server and rails Fred -- 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.