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

Can't install coderay gem v=1.0.8 with ruby 1.8.6-p420 #42

Closed
ook opened this issue Oct 25, 2012 · 3 comments
Closed

Can't install coderay gem v=1.0.8 with ruby 1.8.6-p420 #42

ook opened this issue Oct 25, 2012 · 3 comments

Comments

@ook
Copy link

ook commented Oct 25, 2012

gem install fail with return code 134:

FortyTwo ~/[…]/laboutique on async_export(v1.7.1lb-25-gb8d3a11)
91 laboutique:async_export % gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.6 (2010-09-02 patchlevel 420) [i686-darwin12.1.0]
  - INSTALLATION DIRECTORY: /Users/thomas/.rbenv/versions/1.8.6-p420/gemsets/odmcul
  - RUBY EXECUTABLE: /Users/thomas/.rbenv/versions/1.8.6-p420/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/thomas/.rbenv/versions/1.8.6-p420/gemsets/odmcul/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-darwin-12
  - GEM PATHS:
     - /Users/thomas/.rbenv/versions/1.8.6-p420/gemsets/odmcul
     - /Users/thomas/.rbenv/versions/1.8.6-p420/gemsets/global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/
FortyTwo ~/[…]/laboutique on async_export(v1.7.1lb-25-gb8d3a11)
92 laboutique:async_export % gem install --backtrace -V coderay
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
Installing gem coderay-1.0.8
zsh: abort      gem install --backtrace -V coderay
FortyTwo ~/[…]/laboutique on async_export(v1.7.1lb-25-gb8d3a11) exited sigabrt
93 laboutique:async_export % echo $?
134

As you can see, I use rbenv on mac os X
Any pointer to fix that?

@ghost
Copy link

ghost commented Oct 25, 2012

As you can clearly see that version of ruby is over 2 years old. I would strongly suggest upgrading.

@ook
Copy link
Author

ook commented Oct 25, 2012

Hi svnpeen,

I can clearly see the homepage saying:
supported platforms: MRI 1.8.6+

I have no problem to understand it's hard to maintain compatibility for old interpreters, but in that case coderay should say from which gem version it's not longer 1.8.6 compatible.

@korny
Copy link
Member

korny commented Oct 25, 2012

The website is not up to date. The documentation says:

CodeRay needs Ruby 1.8.7+ or 1.9.2+. It also runs on Rubinius and JRuby.

I will update the website, thank you for finding this.

Sorry, but 1.8.7 was released over 4 years ago and I thought it wasn't worth testing 1.8.6 any more. Don't know what happened on your system, but if the installation failed, wouldn't that be RubyGems' fault, not CodeRay's?

CodeRay still works pretty with Ruby 1.8.6, though. I can run all of the tests that don't rely on shoulda-context and the benchmarks.

@korny korny closed this as completed Oct 25, 2012
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