ERROR: While executing gem … (NameError) uninitialized constant Psych::Syck
Posted in ruby on October 16th, 2011 by taswar
What the ????
I was wanting to try out goliath.io (Goliath: Non-blocking, Ruby 1.9 Web Server) for more info look at http://www.igvita.com/2011/03/08/goliath-non-blocking-ruby-19-web-server/
In any case I was not able to get it to install on JRuby so went and get me 1.9.2 MRI.
Once installed MRI 1.9.2, I went into the gem dir to gem install goliath and guess what this message pops up.
1 2 | ERROR: While executing gem ... (NameError) uninitialized constant Psych::Syck |
Really helpful (scarcasim) , then what I had to do to fix this was update my gem
1 | gem update --system |
After doing so I was able to
1 | gem install goliath |
Now its time to try out goliath, wish me luck and if anyone knows how to install it with Jruby please let me know cuz jgem install goliath didnt work for me.
2 Responses
Leave a Comment

October 19th, 2011 at 11:52 pm
This should be fixed in the latest version of the gem.
October 20th, 2011 at 7:04 am
Great thanks, btw do u have any suggestion on running your em-proxy in jruby, the http_proxy.rb example did not work for me in Jruby 1.6.4