Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
ok i followed that one and got it working, how do i set up mysql and do i use xcode for ruby development or textmate or taco or what?
 
What do you mean by setting up MySQL? For management, I use CocoaMySQL.
I use Textmate for developing.
 
get this error when starting ruby on rails

HTML:
=> 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

and on the html page

Status: 500 Internal Server Error Content-Type: text/html
Application error (Rails)
 
new errors

Code:
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"}

Code:
Routing Error

No route matches "/brablog" with {:method=>:get}
 
ok i got it all working now but im trying to use

Code:
class BlogController < ApplicationController
  scaffold :post
end
but i get the error

Code:
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"}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.