Create a gist now

Instantly share code, notes, and snippets.

Issues with bad interpreter
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
@sajadabedi

I have this problem.
how to run fixed and run your command in terminal?

@wellington1993

I have this problem, thanks for the explanation.

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