Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

“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
like image 794
hasanoa Avatar asked Oct 16 '25 04:10

hasanoa


1 Answers

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.

like image 200
Maxim Fedotov Avatar answered Oct 17 '25 19:10

Maxim Fedotov