Broken Rails on OSX


#1

I just did a complete install of Rails using the instructions here:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
and now it’s broke.

All of my apps were created using Locomotive, but otherwise edited
normally.

The Lighttpd server starts up fine, I can browse to 0.0.0.0:3000, but I
get the default “Welcome aboard” page Rails gives to a new app. I’m
still fairly clueless about all the config, so I have no idea what I can
do to fix this.

Also, in order to run Ruby 1.8.4 I have to type /usr/local/bin/ruby, how
do I alias this and could it be causing my problem?

Thanks for any help,

Adam


#2

I just realized I actually am getting an error when I start Lighttpd. It
still runs though:

/usr/local/lib/ruby/1.8/yaml.rb:133:in load': syntax error on line 33, col 2: password: ’ (ArgumentError)
from /usr/local/lib/ruby/1.8/yaml.rb:133:in load' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:459:indatabase_configuration’
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:181:in
initialize_database' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:84:inprocess’
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:42:in
`run’
from
/Users/admanb/Documents/h4x/Ruby/anime/public/…/config/environment.rb:10
from
/Users/admanb/Documents/h4x/Ruby/anime/public/dispatch.fcgi:21