LoginSignup
31
36

More than 5 years have passed since last update.

rbenv: bundle: command not found の解決

Last updated at Posted at 2016-07-31

このエラーにハマりました。

> $ bundle install
rbenb: bundle: command not found

The 'bundle' command exists in these Ruby versions: 
 2.2.3 

> $ ruby -v   
 2.3.1

原因は、bundleコマンドがrbenvのversion 2.3.0に入っていなかったことが原因でした。
巷の記事では、

gem install bundler

をすれば解決すると書いてありましたが、解決されず。。

結局

sudo gem install bundler

で解決しました。

しかし、 sudo gem iは全権限に対してgemを配布してしまうので良くないらしいです。

31
36
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
36