Whatâs the name of the Ruby application packaging utility and how do you install Rails with it?
In what instances would you avoid WEBrick?
Why should you install a particular version of Ruby on your platform when Ruby already comes installed?
RubyGems, or just âgems,â which is run with the
gem
command, is Rubyâs application packager. To install the latest version of Rails and all its dependencies, just typegem install rails
.WEBrick is great for testing your Rails applications, but definitely not the best choice for deployments where performance matters.
Rails is still running on version 1.8 of Ruby, not the latest 1.9, but it requires features in the more recent versions of 1.8, notably 1.8.6.
Get Learning Rails: Live Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.