Error when starting WEBrick with script/server command

Hi!
I am new with Ruby on Rails and very interested with the language. I am
trying to
follow an example from a book but when I run the “script/server” command
I have got the following error message:
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
C:/Ruby192/lib/ruby/1.9.1/syck.rb:135:in load': syntax error on line 20, col -1:’ (ArgumentError)
from C:/Ruby192/lib/ruby/1.9.1/syck.rb:135:in load' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/initializer.rb:902:indatabase_configuration’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/initializer.rb:437:in
initialize_database' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/initializer.rb:141:inprocess’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/initializer.rb:113:in
run' from C:/Users/patriciac/My Documents/Aptana RadRails Workspace/emporium/config/environment.rb:9:in<top (required)>’
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:inrequire’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in
block in require' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:innew_constants_in’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in
require' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/commands/server.rb:84:in<top (required)>’
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:inrequire’
from script/server:3:in `’

Could someone tell me what is wrong here? I have followed all the steps
the book mentions but it seems like there is something wrong with the
example code because it doesn’t work. I will appreciate a lot the help
from yours.
I am using Aptana Radrails Studio to code the application.
Thanks!
Regards,
Patricia

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs