Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start: cannot load such file -- bundler/setup (LoadError) #25

Open
ttpro1995 opened this issue Feb 26, 2020 · 1 comment
Open

Comments

@ttpro1995
Copy link

(base) ➜  ~ sudo cassandra-web 
Traceback (most recent call last):
	8: from /usr/local/bin/cassandra-web:23:in `<main>'
	7: from /usr/local/bin/cassandra-web:23:in `load'
	6: from /var/lib/gems/2.5.0/gems/cassandra-web-0.5.0/bin/cassandra-web:104:in `<top (required)>'
	5: from /var/lib/gems/2.5.0/gems/cassandra-web-0.5.0/bin/cassandra-web:46:in `run'
	4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	2: from /var/lib/gems/2.5.0/gems/cassandra-web-0.5.0/app.rb:6:in `<top (required)>'
	1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- bundler/setup (LoadError)
(base) ➜  ~ cassandra-web  
Traceback (most recent call last):
	8: from /usr/local/bin/cassandra-web:23:in `<main>'
	7: from /usr/local/bin/cassandra-web:23:in `load'
	6: from /var/lib/gems/2.5.0/gems/cassandra-web-0.5.0/bin/cassandra-web:104:in `<top (required)>'
	5: from /var/lib/gems/2.5.0/gems/cassandra-web-0.5.0/bin/cassandra-web:46:in `run'
	4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	2: from /var/lib/gems/2.5.0/gems/cassandra-web-0.5.0/app.rb:6:in `<top (required)>'
	1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- bundler/setup (LoadError)

@smclinden
Copy link

smclinden commented Oct 1, 2020

I'm getting the same error, Ubuntu 18.04 LTS.

Try downloading rvm for your OS version (rvm.io).

Install it, then run "rvm install ruby-2.5.0" and then "rvm use 2.5.0".

You'll, likely, need some additional packages. Try "bundle update " (in my case, "rake").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants