-
Notifications
You must be signed in to change notification settings - Fork 3
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
Possible issue with Ruby 2.2? #31
Comments
I guess that you have installed ruby via rvm and forgot about the last step: source ~/.rvm/scripts/rvm |
Hi Tad. EDIT: |
I can say you that it's definitely not 2.2 version's fault.
I have never used ArchLinux so I am not familiar with distro specific things there, but I see that there is something wrong with your installation. |
Hmmm this here is: |
I don't know where to take this. To ruby forums? To Archlinux forums? What would you do if you were in my shoes? |
Try
If this doesn't help, try installing ruby-headers package. I have no more ideas at the moment. |
I already have ruby in the path. |
This path is not for ruby, it's for gem binaries, so you won't need to specify full path to sanguinews and would be able to just run "sanguinews". Most highly likely is that something is wrong with your path, I'm just not sure what exactly. So that's why I would dig in this direction in your place. As for ruby-headers, maybe they are provided in some other way in ArchLinux, but they are definitely needed to compile C ruby extensions. |
http://irclog.whitequark.org/ruby/2015-01-14 |
Tangential to this issue (because his stack trace complains about it), it appears that |
Ok, so actually, it's not tangential, haha :) The issue is the un-spec'd bundler dep. The duplicate key line is just a warning from 2.2 (which is a new feature btw) about a duplicate key in
That error results from a lack of the bundler gem, which results from a lack of dependency specification. Although, I don't see any references to the |
Ok, thank you for your input, Brad. I guess that bundler as a requirement is a left-over from earlier stages of development, because I can't find where it would be needed now. I will test it and remove it if it's the case. |
Hi bradland. |
The problem is fixed now. @bradland thank you once again for your contribution and thank you, @john3voltas , for bringing it up. I have uploaded the updated gem to rubygems.org. |
@tdobrovolskij
Hi Tad.
I'm installing Sanguinews to a brand new Archlinux box.
Here are some error messages when I try to run Sanguinews after I finish installing it.
[root@dock-clone ~]# gem install sanguinews
'WARNING: You don't have /root/.gem/ruby/2.2.0/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
Successfully installed sanguinews-0.70
Parsing documentation for sanguinews-0.70
Installing ri documentation for sanguinews-0.70
Done installing documentation for sanguinews after 4 seconds
1 gem installed
[root@dock-clone ~]# /root/.gem/ruby/2.2.0/bin/sanguinews
/root/.gem/ruby/2.2.0/gems/sanguinews-0.70/lib/sanguinews.rb:148: warning: duplicated key at line 151 ignored: :prefix
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require': cannot load such file -- bundler/setup (LoadError) from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'from /root/.gem/ruby/2.2.0/gems/sanguinews-0.70/lib/sanguinews.rb:20:in
<top (required)>' from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require' from /root/.gem/ruby/2.2.0/gems/sanguinews-0.70/bin/sanguinews:2:in
<top (required)>'from /root/.gem/ruby/2.2.0/bin/sanguinews:23:in
load' from /root/.gem/ruby/2.2.0/bin/sanguinews:23:in
Could this be a Ruby 2.2 issue?
Or did I miss something when I was installing? GCC is there. Not sure about Ruby headers though...
Cheers
The text was updated successfully, but these errors were encountered: