Hi… I installed Ruby On Rails on ubuntu and when I try to start the
I get the following:
felipe@balthazar:~/teste$ ruby script/server
=> Booting WEBrick…
load': syntax error on line 31, col -1:’ (ArgumentError)
load' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:459:indatabase_configuration’
initialize_database' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:84:inprocess’
send' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:42:inrun’
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
require' from ./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:52 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
require' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:147:inrequire’
from script/server:3:in `require’
This error occurs also when I try to create a scaffold.
line 133 of yaml.rb goes like this:
132: def YAML.load( io )
133: yp = parser.load( io )
I have no ideia of what is going on here, does anyone there has?
I am trying to run a single application since sunday but I had no
making Rails work on linux. On the other hand, I had no problems in
it work on Windows XP (althought I still didn’t get how to set a Rails
application up on Apache2). I would like very much to be able to work on
linux, but all these things are driving me to just give up :(.
Thanks for your attention,