Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38631 - [ruby-polyglot] Gem-built packages should probably be under /usr/lib/ruby/gems and not vendor_ruby

Attached to Project: Community Packages
Opened by Jeff Abbott (fdiv_bug) - Thursday, 23 January 2014, 18:03 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 26 January 2014, 16:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

While trying to use pacman-installed Ruby gems with Bundler (ruby-bundler, from AUR), it can't find the gems that are installed under /usr/lib/ruby/vendor_ruby/RUBYVERSION (including polyglot, mail, mime-types, and treetop). Since this is a packaged Gem, and since it installs a specification to /usr/lib/ruby/gems/RUBYVERSION/specifications, I believe its contents should be under /usr/lib/ruby/gems/RUBYVERSION/gems and not under /usr/lib/ruby/vendor_ruby/RUBYVERSION; and I don't believe this is a Bundler issue, even though it's Bundler that's complaining as below. I've filed this bug against ruby-polyglot, since that appears to be the one on which the others depend, but the problem also appears to exist in those packages as well. If you'd like me to file separate bug reports for them I'd be happy to do so, and please let me know if I've left anything out or filled in anything incorrectly, as this is my first Arch Linux bug report.

Additional info:
* ruby-bundler-1.5.2-1 (from AUR)
* ruby-polyglot-0.3.3-2

Steps to reproduce:
1. Install ruby-bundler from AUR, and ruby-polyglot from community.
2. Create a file named "Gemfile" in an empty directory containing only the line: gem 'polyglot'
3. Run: bundle show polyglot
4. Output:

The gem polyglot has been deleted. It was installed at:
/usr/lib/ruby/gems/2.0.0/gems/polyglot-0.3.3

which is due to Bundler finding the gemspec at the expected location, but not the gem's contents, as those are under vendor_ruby.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Sunday, 26 January 2014, 16:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in [community-testing].
Comment by Maxime Gauduin (Alucryd) - Saturday, 25 January 2014, 18:23 GMT
Right. I did that in the first place so that all ruby stuff would be in the same dir (and apparently rubygem was okay with it). Bundler is in AUR and is not supported, but since rdoc and rake from ruby 2.1.0 in testing are now installed as gems, I guess I'll do the same.

I'll update my ruby packages in [community-testing] because they're still part of the pending ruby 2.1 todo. Updating those in [community] would mean twice as much work for me and unnecessary pkgrel bumps. Should be done in an hour or two.
Comment by Maxime Gauduin (Alucryd) - Saturday, 25 January 2014, 19:10 GMT
Okay, pushed them to [community-testing], they should solve the issue.
Comment by Jeff Abbott (fdiv_bug) - Saturday, 25 January 2014, 19:19 GMT
Awesome! Thank you for the quick turnaround time on this.
Comment by Jeff Abbott (fdiv_bug) - Sunday, 26 January 2014, 16:51 GMT
I rebuilt local packages using your updated PKGBUILDs, and I wanted to mention that they work fine even on Ruby 2.0.0, so I'd say this can be closed as fixed. No real surprise, I just wanted to confirm. :-)
Comment by Maxime Gauduin (Alucryd) - Sunday, 26 January 2014, 16:54 GMT
Oh thx! I'll be closing the task then.

Loading...