Anyone got a easy guide to install mysql and ruby on rails and configure them to play with each other so i can start learning ruby on rails with tutorials such as this one http://media.rubyonrails.org/video/rails_take2_with_sound.mov.
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in `initialize_without_backlog': Address already in use - bind(2) (Errno::EADDRINUSE)
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:139:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:139:in `listener'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `call'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `initialize'
... 14 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./script/server:3
MissingSourceFile in Rails/infoController#properties
no such file to load -- sqlite3
RAILS_ROOT: /Users/davidroy/demos/brablog
Application Trace | Framework Trace | Full Trace
This error occurred while loading the following files:
sqlite3
Request
Parameters:
None
Show session dump
Response
Headers:
{"cookie"=>[],
"Cache-Control"=>"no-cache"}
Routing Error
No route matches "/brablog" with {:method=>:get}
class BlogController < ApplicationController
scaffold :post
end
NoMethodError in BlogController#index
undefined method `scaffold' for BlogController:Class
RAILS_ROOT: /Users/davidroy/demos/brablog
Application Trace | Framework Trace | Full Trace
app/controllers/blog_controller.rb:2
Request
Parameters:
None
Show session dump
Response
Headers:
{"cookie"=>[],
"Cache-Control"=>"no-cache"}