Error whilst starting rails server
Posted
by
Sajeer
on Stack Overflow
See other posts from Stack Overflow
or by Sajeer
Published on 2012-12-13T11:00:39Z
Indexed on
2012/12/13
11:03 UTC
Read the original article
Hit count: 367
ruby-on-rails
I am new to rails and the bundle install works fine for the project. but when I start the rails server errors are shown.The shown errors are attached herewith.
Exiting C:/Ruby193/lib/ruby/1.9.1/psych.rb:203:in `parse': (): could not find e xpected ':' while scanning a simple key at line 27 column 3 (Psych::SyntaxError)
from C:/Ruby193/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
from C:/Ruby193/lib/ruby/1.9.1/psych.rb:151:in `parse'
from C:/Ruby193/lib/ruby/1.9.1/psych.rb:127:in `load'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/applic
ation/configuration.rb:115:in database_configuration'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.2/lib/active_r
ecord/railtie.rb:75:in
block (2 levels) in '
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/lazy_load_hooks.rb:36:in instance_eval'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/lazy_load_hooks.rb:36:in
execute_hook'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/lazy_load_hooks.rb:26:in on_load'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.2/lib/active_r
ecord/railtie.rb:74:in
block in '
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/initia
lizable.rb:30:in instance_exec'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/initia
lizable.rb:30:in
run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/initia
lizable.rb:55:in block in run_initializers'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/initia
lizable.rb:54:in
each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/initia
lizable.rb:54:in run_initializers'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/applic
ation.rb:136:in
initialize!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/railti
e/configurable.rb:30:in method_missing'
from D:/ROR/appmallserver/config/environment.rb:22:in
'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/dependencies.rb:251:in require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/dependencies.rb:251:in
block in require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/dependencies.rb:236:in load_dependency'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.2/lib/active_
support/dependencies.rb:251:in
require'
from D:/ROR/appmallserver/config.ru:4:in block in <main>'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:
51:in
instance_eval'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:
51:in initialize'
from D:/ROR/appmallserver/config.ru:1:in
new'
from D:/ROR/appmallserver/config.ru:1:in <main>'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:
40:in
eval'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:
40:in parse_file'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:2
00:in
app'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/comman
ds/server.rb:46:in app'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:3
01:in
wrapped_app'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:2
52:in start'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/comman
ds/server.rb:70:in
start'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/comman
ds.rb:55:in block in <top (required)>'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/comman
ds.rb:50:in
tap'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.2/lib/rails/comman
ds.rb:50:in <top (required)>'
from script/rails:21:in
require'
from script/rails:21:in `'
© Stack Overflow or respective owner