problem with bundle

前端 未结 6 1571
醉梦人生
醉梦人生 2021-01-02 11:50

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 dir         


        
6条回答
  •  抹茶落季
    2021-01-02 12:30

    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.

提交回复
热议问题