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

Re: help with running tests for rails using gems



* Sam Ruby <rubys@intertwingly.net> [130602 16:34]:
> On 06/02/2013 08:34 AM, Christian Hofstaedtler wrote:

[..]
> >>Therefore, the right place to focus is on getting a version of
> >>bundler which play's nice with Debian?
> >
> >I am not sure what you mean with that. How does the existing
> >bundler package not help?
> >
> >If you have a minimal testcase which shows where bundler and/or
> >rubygems-integration breaks something, I can take a look at that.
> 
> Indeed, I may be confused.  So lets start over with the latest symptom:
> 
> Invalid gemspec in [/usr/share/rubygems-integration/1.9.1/specifications/actionpack-3.2.13.gemspec]:
> Illformed requirement ["~> #<Gem::Version:0x00000001d13660>"]
> Invalid gemspec in [/usr/share/rubygems-integration/1.9.1/specifications/actionpack-3.2.13.gemspec]:
> Illformed requirement ["~> #<Gem::Version:0x00000001d13660>"]
> Invalid gemspec in [/usr/share/rubygems-integration/1.8/specifications/actionpack-3.2.13.gemspec]:
> Illformed requirement ["~> #<Gem::Version:0x00000001d13660>"]
> Invalid gemspec in [/usr/share/rubygems-integration/1.8/specifications/actionpack-3.2.13.gemspec]:
> Illformed requirement ["~> #<Gem::Version:0x00000001d13660>"]

The above lines are a bug in ruby-actionpack-3.2. I've opened a bug
against ruby-actionpack-3.2 for this. (Bug# pending.)

> /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:296:in `resolve':
> Could not find gem 'rails (= 3.2.13) ruby' in the gems available on
> this machine. (Bundler::GemNotFound)

[..]

> Reproduction instructions:
> 
> 1. sudo apt-get install git-buildpackage
> 
> 2. # clone the packaging repo
> gbp-clone --pristine-tar
> git://anonscm.debian.org/pkg-ruby-extras/ruby-shoulda-matchers.git
> 
> 3. # install build dependencies (like a bundle install - we need to
> capture all dependencies during packaging)
> sudo aptitude install debhelper  gem2deb  rake ruby-jquery-rails \
> ruby-coffee-rails ruby-sass-rails ruby-uglifier ruby-actionpack-3.2 \
> ruby-rspec bundler

This does not include actually installing *rails*.

This is a problem of broken build-dependencies in ruby-shoulda-matchers
(which needs to add ruby-rails-3.2).


  C.

-- 
       Christian Hofstaedtler       | design, deploy, scale
http://christian.hofstaedtler.name/ | phone +43 720 699846

Attachment: signature.asc
Description: Digital signature


Reply to: