rubyrvmbundlerdashing

“Could not find bundler” ruby-2.3.0


I am installing Dashing Dashboard on Pi3. I have "Could not find 'bundler' problem in installation steps. How can I finish the installation?

$ source /home/pi/.rvm/scripts/rvm
-> OK

$ rvm current
ruby-2.3.0

$ bundle
/usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in 'to_specs': Could not find 'bundler' (>= 0) among 42 total gem(s) (Gem::LoadError)
    from /usr/lib/ruby/2.1.0/rubygems/dependency.rb:309:in 'to_specs'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in 'gem'
    from /usr/local/bin/bundle:22:in '<main>'

$ gem install bundler
-> OK

$ bundle
-> the same problem

Solution

  • I imagine you've messed up your permissions, installing bundler into system gems by running sudo gem install bundler.

    Delete the bundler and then install it under RVM. Double check your paths so its being installed in the RVM gem stash, not system's.