pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gem'izing ruby-gnome2-*?


I'm interested in packaging squib
(, a Ruby program for prototyping
card games.

I can install it with gem install, but I prefer to install it using
pkgsrc. For this reason I started to take a closer look at packaging
ruby stuff.

I have a basic package that installs the dependencies for which
packages already exist, but when I run the squib executable, I get
warnings that particular dependencies' gems cannot be found, e.g.

# squib
/usr/pkg/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'pango' (~> 3.0.1) among 13 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/wiz/.gem/ruby/2.2.0:/usr/pkg/lib/ruby/gems/2.2.0', execute `gem env` for more information
        from /usr/pkg/lib/ruby/2.2.0/rubygems/specification.rb:1311:in `block in activate_dependencies'
        from /usr/pkg/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `each'
        from /usr/pkg/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `activate_dependencies'
        from /usr/pkg/lib/ruby/2.2.0/rubygems/specification.rb:1282:in `activate'
        from /usr/pkg/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:67:in `block in gem'
        from /usr/pkg/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in `synchronize'
        from /usr/pkg/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in `gem'
        from /usr/pkg/bin/squib22:22:in `<main>'

For that reason I've already converted two packages (locally) to
switch to the gem version. Now I found the error above, and see about
15 ruby-gnome2 packages that do not install the gem.

Is there a particular reason for that, or can I switch them to gems?

If they should stay gem-less, how can I fix the problem I see with
squib above?


Home | Main Index | Thread Index | Old Index