problem with bundle

前端 未结 6 1747
醉梦人生
醉梦人生 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:23

    Encountering this same problem, I found bundler installation in /var/lib/gems/2.3.0/gems/bundler-1.16.1;
    Then i fixed the error by creating a symbolic link like this:

    ln -s /var/lib/gems/2.3.0/gems/bundler-1.16.1/ /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1

    I did this because I needed this version of ruby.

提交回复
热议问题