Here's what I did to follow the Getting Started tutorial.
I already have Rails installed an an app created using the "rails new APP_PATH" command. My app was in the path transit.adigitalcity.com. To start generating scaffolding, etc (as shown in the tutorial), you must:
In ssh, make sure you change directory, "cd", to your APP_PATH. In this case, this was transit.adigitalcity.com, the subdomain where the rails app was created.
The first time you enter "rails generate controller home index", you will get an error:
Could not find gem 'mysql2 (>= 0, runtime)' in any of the gem sources listed in your Gemfile.
Try running `bundle install`.
To fix this, you need to edit the Gemfile located in your root directory (transit.adigitalcity.com/Gemfile). Simply comment out the line "gem 'mysql2'". The file should now look like this:
gem 'rails', '3.0.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
# gem 'webrat'
After doing that, I was now able to "rails generate controller home index" with the following result:
rails generate controller home index
route get "home/index"
That's as far as I am at the moment, but I will update if I encounter any more problems.