Search code examples
ruby-on-railsrubyinstallationbundle

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.


Solution

  • 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.