views:

28

answers:

1

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.

+2  A: 

I think you need to export the path of ruby and bundle in your .bashrc (linux).

Open your .bashrc and add this line:

export PATH="$PATH:/usr/bin:/usr/local/bin/"

It should work.

zengr
yeah. I sloved it by : ln -s /usr/bin/ruby /usr/local/bin/ruby. Thanks for your sugguest
Nam Khanh