What is cloud computing and how can it help you develop in Rails?
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?
Cloud computing provides access to virtual servers. You donât even have to know which server is hosting which part of the application. Mostly, youâll consider deploying your Rails applications on cloud computing environments, but Heroku offers you a chance to develop your applications through a web interface that runs on Amazonâs EC2 cloud computing platform.
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 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.