Hi folks,

I'm looking to try and enable some more tests on some of the packages I
maintain but am struggling with removal of bundler.

I have attempted to enable it in prawn-svg using the usual:

%check
pushd .%{gem_instdir}
sed -i "/require 'bundler'/ s/^/#/" spec/spec_helper.rb
sed -i "/Bundler/ s/^/#/" spec/spec_helper.rb
rspec spec
popd

however I'm getting:

NameError:
  uninitialized constant Prawn

on any mock builds I run. I'm sure this is an incredibly newbie question
but would appreciate it if someone can point me in the right direction.

I'll look to enhance
https://fedoraproject.org/wiki/Packaging:Ruby#Running_test_suites with my
subsequent knowledge, if it helps.

Thanks

-- 
Christopher Brown
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org

Reply via email to