Hey, I am new to this and I thought I had finally set up everything
perfectly after three days of trying to configure it. However I run this
command:
rake db:schema:load
and I get an error “syntax error on line 23, col 11: `’”. The error
however is now with the schema it’s with the ruby install itself as you
can see with the trace I ran:
chris-campbells-computer:~/Sites/beast Chris$ rake db:schema:load
–trace
(in /Users/Chris/Sites/beast)
** Invoke db:schema:load (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
syntax error on line 23, col 11: ' /usr/local/lib/ruby/1.8/yaml.rb:133:in
load’
/usr/local/lib/ruby/1.8/yaml.rb:133:in load' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in
database_configuration’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in
initialize_database' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in
process’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in
run' /Users/Chris/Sites/beast/config/../config/environment.rb:13 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/misc.rake:3 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
execute’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
invoke’
/usr/local/lib/ruby/1.8/thread.rb:135:in synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
invoke’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
each’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in
invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
invoke’
/usr/local/lib/ruby/1.8/thread.rb:135:in synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
invoke’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
top_level’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
top_level’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:18
Any ideas? Im getting really frustrated!