Skip to content

Instantly share code, notes, and snippets.

@troyk
Created November 30, 2011 12:23
Show Gist options
  • Save troyk/1408891 to your computer and use it in GitHub Desktop.
Save troyk/1408891 to your computer and use it in GitHub Desktop.
How to save your ass from bundle install hell
If you ever run across this error again:
uninitialized constant Psych::Syck (NameError)
sudo gem update --system
IS NOT THE FULL ANSWER DUDE. Although it appears to work, worse problems lie ahead. The real cure is downloading/installing libyaml and re-installing ruby. Atleast that solved my hell.
$ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
$ tar xzvf yaml-0.1.4.tar.gz
$ cd yaml-0.1.4
$ ./configure
$ make
$ make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment