Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

problem with bundle

I try command bundle install --local but it show issue:

-bash: /usr/local/bin/bundle: /usr/local/bin/ruby: bad interpreter: No such file or directory. 

please help me.

like image 468
khanh Avatar asked Oct 18 '10 10:10

khanh


People also ask

What are the symptoms of bundle branch block?

In most people, bundle branch block doesn't cause symptoms. Some people with the condition don't know they have bundle branch block. Rarely, symptoms of bundle branch block may include fainting (syncope) or feeling as if you're going to faint (presyncope).

What is a heart bundle blockage?

A bundle branch block (BBB) is when something blocks or disrupts the electrical signal that causes your heart to beat. This block leads to an abnormal heart rhythm. Your heart's tissue sends electrical impulses that travel through pathways called bundle branches.


1 Answers

The solution that worked for me was entirely different, perhaps because I've been inconsistent about using RVM or not.

I used 'which bundler' to find out where bundler was being launched, it was from /usr/bin/bundler. Noticing that /usr/bin/bundler began with a location and version of ruby that did not exist on my system any more, I did

gem uninstall bundler
gem install bundler

Checking 'which bundler' again confirmed that bundler was now installed within a .rvm environment instead of /usr/bin/bundler, and now references the correct version of ruby; so bundle install now works for my rails project.

like image 99
LisaD Avatar answered Nov 15 '22 20:11

LisaD