Skip to content

Instantly share code, notes, and snippets.

@nkpart
Created July 22, 2011 01:33
Show Gist options
  • Save nkpart/1098677 to your computer and use it in GitHub Desktop.
Save nkpart/1098677 to your computer and use it in GitHub Desktop.
My Lion Install Notes

I upgraded from Snow Leopard.

Git went missing, so I downloaded the .dmg and installed it: http://code.google.com/p/git-osx-installer/downloads/detail?name=git-1.7.6-x86_64-snow-leopard.dmg&can=2&q=

Uninstalled my current devtools: sudo /Developer/Library/uninstall-devtools

Installed Xcode via the App Store.

Ruby

My compiled versions of ruby were busted (Note: this might have just been image magick), so I dropped the old versions I had and rebuilt with rvm. Installing with rvm requires explicitly declaring the c compiler:

rvm uninstall ree-1.8.7-2010.02
CC=/usr/bin/gcc-4.2 rvm install ree-1.8.7-2010.02
cd oomph-server
# gemset/rvm config occurs
gem install bundler
bundle
bundle install --bin-stubs

Reinstall image magick (you'll know it's broken if you run convert and get a fail):

brew install image-magick
@clydelogue
Copy link

I had the same problem with Git - which I repaired with a path statement fix. But now my RVM is not working - how do I fix RVM?

/usr/local/bin/rvm: line 73: /Users/clydelogue/.rvm/scripts/rvm: No such file or directory
/usr/local/bin/rvm: fork: Resource temporarily unavailable

thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment