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

installation trouble #4

Closed
jsta opened this issue Jun 18, 2016 · 5 comments
Closed

installation trouble #4

jsta opened this issue Jun 18, 2016 · 5 comments

Comments

@jsta
Copy link

jsta commented Jun 18, 2016

I am having trouble installing. Do you have any ideas?

$ rake install --trace

rake aborted!
LoadError: cannot load such file -- bundler/gem_tasks
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
/home/jose/ruby/dozedois/Rakefile:1:in <top (required)>' /usr/lib/ruby/vendor_ruby/rake/rake_module.rb:28:inload'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:28:in load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:689:inraw_load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in block in load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:176:instandard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:93:in load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:77:inblock in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:176:in standard_exception_handling' /usr/lib/ruby/vendor_ruby/rake/application.rb:75:inrun'
/usr/bin/rake:27:in `

'

$ ruby --version

ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu]

$ rake --version

rake, version 10.5.0

@sckott
Copy link
Owner

sckott commented Jun 18, 2016

looking

@sckott
Copy link
Owner

sckott commented Jun 18, 2016

@jsta what version of bundler do you have

@sckott
Copy link
Owner

sckott commented Jun 18, 2016

able to reproduce with that ruby version, i was on 2.2.3,

fixing some stuff

@jsta
Copy link
Author

jsta commented Jun 18, 2016

I solved it on my end. First I (re?)installed bundler and a ruby development environment:

$ sudo gem install bundler
$ sudo apt-get install ruby-dev

$ rake install was still giving me and error so I tried:

$ gem install /home/jose/ruby/dozedois/pkg/dozedois-0.0.9.gem
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.3.0 directory.

which was solved by:

$ sudo rake install

@sckott
Copy link
Owner

sckott commented Jun 18, 2016

great, glad you sorted it out. I had to do the same, had to reinstall bundler after switching to ruby v2.3.1

I'll add to readme that sudo may be required

note to self: rubygems/bundler#4602

sckott added a commit that referenced this issue Jun 18, 2016
@jsta jsta closed this as completed Jun 20, 2016
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