All you want to do is to get up & running
on OSX Snowleopard (Ruby 1.8.7 - included with the OS & Gem 1.4.2 - after runnning gem update --system) , the sequence of steps to get a simple Rails application up & running:
> rails new app_path/app_name
cd into the app directory & add anything special to the Gemfile - which specifies Ruby gems to add to the apps library
> bundle install
>rails server
you should see the WEBrick test server start up
This post is necessary as using this built-in server seems to be really out of favour in Ruby-land (the Mongrel webserver is suggested) & what docs there are about it - well some paths & commands have changed...
Tuesday, February 1, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment