https://bugzilla.redhat.com/show_bug.cgi?id=1040453



--- Comment #7 from Vít Ondruch <vondr...@redhat.com> ---
(In reply to Björn "besser82" Esser from comment #5)
> (In reply to Björn "besser82" Esser from comment #4)
> > (In reply to Vít Ondruch from comment #2)
> > > * Bundler, Rake
> > >   - We are typically trying to get rid of these (an usually quite
> > > successfully).
> > 
> > How would one usually accoplish this?!?  I'm actually new to Ruby stuff and
> > need to learn about that  :(  In fact this is my 2nd rubygem-package.
> 
> Already figured out for this one.  :D  I just needed to replace
> 
> %check
> rake
> 
>   with
> 
> %check
> ruby  -S rspec spec/rspec/longrun/formatter_spec.rb                   \
>       --colour --format nested
> 
> and `YEAH!`, I could drop the BuildRequires on bundler and rake.  :)

That is one possibility, the easier one is:

rspec spec

The example is actually in guidelines ;) I also suggest to run the test suite
on "build" gem, not the "expanded", i.e. surroudn the execution by "pushd
.%{gem_instdir} ... popd"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to