简体   繁体   中英

Bundle install: unable to execute /usr/local/bin/bundle: No such file or directory

I had uninstalled my previous ruby version 1.9.1 and installed ruby through RVM as per this video.

Which ruby: /home/user/.rvm/rubies/ruby-2.3.3/bin/ruby

which bundle: /home/vishnu/.rvm/gems/ruby-2.3.3/bin/bundle

After creating rails new app, I had to run sudo bundle install Iam getting the error Error: unable to execute /usr/local/bin/bundle: No such file or directory.

sudo runs in a different environment. Use rvmsudo if you want your RVM settings to propagate.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM