ku1ik / coloration

Textmate to Vim, JEdit and Kate/KWrite color scheme converter
MIT License
260 stars 17 forks source link

Error installing coloration: coloration requires Ruby version ~> 1.9. #17

Closed herrbischoff closed 9 years ago

herrbischoff commented 9 years ago

Environment

Mac OS X 10.10.3

$ uname -a
Darwin Sam.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

Problem

I have a current ruby version installed:

$ ruby -v
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]

But coloration refuses to install:

$ gem install coloration
ERROR:  Error installing coloration:
    coloration requires Ruby version ~> 1.9.

I have checked other gems requiring ruby > 1.9 — they work. Any ideas?

herrbischoff commented 9 years ago

I have been able to install it from the GitHub source with the following steps:

gem install specific_install
gem specific_install -l https://github.com/sickill/coloration

Apparently the current gem file is somehow faulty. This should probably be rectified.

gavinlaking commented 9 years ago

Glad you got up and running. We'll try to get another version of the gem pushed to RubyGems as soon as possible.

ku1ik commented 9 years ago

@gavinlaking I have just added you as a gem owner on rubygems.org, feel free to release whenever it makes sense :)

gavinlaking commented 9 years ago

Thanks, I've just released v0.4.0. :-)

ku1ik commented 9 years ago

Cool. Btw, looks like you've forgotten to update the date in .gemspec ;) https://rubygems.org/gems/coloration

ku1ik commented 9 years ago

I wonder if s.date = Date.today in a gemspec file is a good idea...

herrbischoff commented 9 years ago

Thanks! I'm happy to report that this gem installs correctly.

gavinlaking commented 9 years ago

Ah, I saw the 'Date.today' entry in the gemspec, thought it was strange but left it alone. I don't think it is a required field, might be worth removing it.

ku1ik commented 9 years ago

@gavinlaking You did? I was wondering if adding it would be a great idea. I don't see it anywhere in this project's gemspec at the moment.

gavinlaking commented 9 years ago

:pineapple: I must have been imagining seeing that in the gemspec. Where was I?!

Anyway, I'm not sure this is a good idea; this would probably confuse gem servers and other authors. 'date' is no longer mentioned as part of the gemspec specification, so I vote dropping it altogether.

http://guides.rubygems.org/specification-reference/

ku1ik commented 9 years ago

+1 for dropping. 11 cze 2015 19:37 "Gavin Laking" notifications@github.com napisał(a):

[image: :pineapple:] I must have been imagining seeing that in the gemspec. Where was I?!

Anyway, I'm not sure this is a good idea; this would probably confuse gem servers and other authors. 'date' is no longer mentioned as part of the gemspec specification, so I vote dropping it altogether.

http://guides.rubygems.org/specification-reference/

— Reply to this email directly or view it on GitHub https://github.com/sickill/coloration/issues/17#issuecomment-111217640.