First attempt to run bundle install and got “Could not find bundler” error

By | 30th December 2015

Background

  • OS: Debian 8
  • Ruby version: ruby 2.1.5p273 (2014-11-13) [i386-linux-gnu]
  • Rails version: Rails 4.2.5
  • Ruby and Rails are installed and created first hello world app
  • Trying to run “bundle install”
> bundle install
/usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'bundler' (>= 0) among 66 total gem(s) (Gem::LoadError)
        from /usr/lib/ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
        from /usr/local/bin/bundle:22:in `'

Troubleshooting

Ruby Bundler missing – resolve issue by install Bundler

>  sudo gem install bundle

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.