Skip to content

Instantly share code, notes, and snippets.

@liuzxc
Forked from ryanjm/Extra info
Created July 8, 2013 14:16
Show Gist options
  • Save liuzxc/5949196 to your computer and use it in GitHub Desktop.
Save liuzxc/5949196 to your computer and use it in GitHub Desktop.
Something else I found helpful along the way (as I had old stuff installed):
gem uninstall --install-dir /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 rails
zsh: /usr/local/bin/spec: bad interpreter: /usr/local/bin/ruby: no such file or directory
The issue is that my ruby isn't installed at /usr/local/bin/ruby but rather /usr/bin/ruby therefore I created a simlink.
zsh: /usr/local/bin/bundle: bad interpreter: /usr/local/bin/ruby: no such file or directory
% which ruby
/usr/bin/ruby
% cd /usr/local/bin/
/usr/local/bin% ln -s /usr/bin/ruby ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment