I’m not sure if this is the right place to ask such questions. If not,
apologies and please direct me where such questions are handled.
I am new to RoR and have been following the tutorial in Agile Web
with Rails. I have successfully gotten RoR up and running on my Mac (OS
10.4.6) and created a MySQL database. However, on page 57 of the
command “script/generate scaffold Product Admin” is causing the
load': syntax error on line 27, col 2:
host: localhost’ (ArgumentError)
load' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:459:indatabase_configuration’
initialize_database' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:84:inprocess’
run' from ./script/../config/../config/environment.rb:13 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
require' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/generate.rb:1 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
I’m not sure what this error means. If you have any suggestions as to
could do to get rolling on rails I’d appreciate it.