Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing holidays gem

I'm receiving the following error when trying to install the holidays gem:

# gem install holidays
Fetching: holidays-1.0.4.gem (100%)
ERROR:  Error installing holidays:
        holidays requires holidays (>= 0)

I'm not a ruby guy, just installing some deps for Redmine Backlogs plugin.

Versions and environment:

# gem -v
1.8.10

# ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-linux]

CentOS Linux release 6.0 (Final)
# uname -r
2.6.32-71.29.1.el6.i686
like image 593
rsilva4 Avatar asked Oct 21 '11 11:10

rsilva4


1 Answers

The latest version of the gem 1.0.4 seems to require that you have a previous version of the gem so do this and you should be good

gem install holidays --version 1.0.3
gem install holidays

Now you should have the latest version of the holidays gem

UPDATE: The author Alex Dunae has now fixed this problem

like image 182
Moiz Raja Avatar answered Oct 21 '22 08:10

Moiz Raja