You are not logged in.

#1 2014-12-06 23:12:48

SUK
Member
Registered: 2009-09-28
Posts: 19

Ruby gem "minitest" is really old version.

Hi.

Why ruby package (https://www.archlinux.org/packages/extra/x86_64/ruby/) contains minitest in version 4.7.5, which is 1.5 year old? (https://rubygems.org/gems/minitest/versions).

Is it bug or feature?

I've decided to learn ruby, so I've installed ruby package, then I've let pacgem (https://aur.archlinux.org/packages/pacgem/) make and install packages with individual gems, starting at "rails" and then all dependencies. Then i've advanced to first step in creating rails application -

rails new ./

with repsonse:

/usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'minitest' (~> 5.1) - did find: [minitest-4.7.5] (Gem::LoadError)

.

Pacgem did not want to install minitest from rubygems repo, but I want to have my system clean with all gems managed by package manager. And also newest version (ruby package looks like newest, but minitest inside don't and some gems (rails) need higher version to work). What to do now?

Offline

#2 2014-12-06 23:32:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Ruby gem "minitest" is really old version.

Version 5.4.3-1 of minitest is here:
https://aur.archlinux.org/packages/ruby-minitest/


Jin, Jîyan, Azadî

Offline

#3 2014-12-07 11:04:05

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: Ruby gem "minitest" is really old version.

You could open a bug to request minitest to be updated; but I don't see any explicit reference to minitest in the pkgbuild; implying ruby simply ships an older version with its official release?

Offline

#4 2014-12-07 13:38:43

SUK
Member
Registered: 2009-09-28
Posts: 19

Re: Ruby gem "minitest" is really old version.

OK, thank guys. If ruby is distributed with minitest 4.7.5 and minitest of other version can be installed without conflict (minitest in AUR use another files than official ruby package), then it is more bug in pacgem than in ruby. I'll try to raise bug in pacgem.

Offline

#5 2014-12-23 22:54:40

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Ruby gem "minitest" is really old version.

minitest (and few other gems) are distributed as a part of ruby project. Upcoming ruby 2.2.0 will have minitest version 5.4.3.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB