Stefan Hansch
Stefan Hansch

Reputation: 1590

after bundle install error kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)

On remote server I downloaded project. In root directory project run bundle install. Display error:

/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
    from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/bin/bundle:7:in `<main>'

I check current ruby version. is

ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

I dont undestand why this error. But think, its becose i removed rvm from machine and manual installed ruby 2.3.1 without ruby manager. Help please. Thank you.

Upvotes: 1

Views: 3139

Answers (1)

Khanh Pham
Khanh Pham

Reputation: 2973

Perhaps, you missed install gem bundler, try to install it first:

gem install bundler

then run bundle install again

Upvotes: 8

Related Questions