[DRE-maint] Bug#709431: update ruby-shoulda-matchers to latest upstream release

Praveen A pravi.a at gmail.com
Thu May 23 10:05:31 UTC 2013


package: ruby-shoulda-matchers
version: 1.0.0~beta2-1
severity: wishlist

I'm trying to update, but tests are failing because rails cannot find
config/database.yml in the root (it should look at /tmp/aruba/testapp
instead), with my limited ruby foo, I can't figure out where to change
this.

Complete error below, packaging available in
http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-shoulda-matchers.git

/usr/lib/ruby/vendor_ruby/rails/application/configuration.rb:115:in
`read': No such file or directory -
/media/forge/debian/git/pkg-ruby-extras/ruby-shoulda-matchers/config/database.yml
(Errno::ENOENT)
        from /usr/lib/ruby/vendor_ruby/rails/application/configuration.rb:115:in
`database_configuration'
        from /usr/lib/ruby/vendor_ruby/active_record/railtie.rb:78:in
`block (2 levels) in <class:Railtie>'
        from /usr/lib/ruby/vendor_ruby/active_support/lazy_load_hooks.rb:36:in
`instance_eval'
        from /usr/lib/ruby/vendor_ruby/active_support/lazy_load_hooks.rb:36:in
`execute_hook'
        from /usr/lib/ruby/vendor_ruby/active_support/lazy_load_hooks.rb:43:in
`block in run_load_hooks'
        from /usr/lib/ruby/vendor_ruby/active_support/lazy_load_hooks.rb:42:in
`each'
        from /usr/lib/ruby/vendor_ruby/active_support/lazy_load_hooks.rb:42:in
`run_load_hooks'
        from /usr/lib/ruby/vendor_ruby/active_record/base.rb:721:in
`<top (required)>'
        from /usr/lib/ruby/vendor_ruby/rspec/rails/extensions/active_record/base.rb:19:in
`<module:Extensions>'
        from /usr/lib/ruby/vendor_ruby/rspec/rails/extensions/active_record/base.rb:4:in
`<module:Rails>'
        from /usr/lib/ruby/vendor_ruby/rspec/rails/extensions/active_record/base.rb:2:in
`<module:RSpec>'
        from /usr/lib/ruby/vendor_ruby/rspec/rails/extensions/active_record/base.rb:1:in
`<top (required)>'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`require'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`block in require'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in
`load_dependency'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`require'
        from /usr/lib/ruby/vendor_ruby/rspec/rails/extensions.rb:1:in
`<top (required)>'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`require'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`block in require'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in
`load_dependency'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`require'
        from /usr/lib/ruby/vendor_ruby/rspec/rails.rb:8:in `<top (required)>'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`require'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`block in require'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in
`load_dependency'
        from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in
`require'
        from /media/forge/debian/git/pkg-ruby-extras/ruby-shoulda-matchers/spec/spec_helper.rb:12:in
`<top (required)>'
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /media/forge/debian/git/pkg-ruby-extras/ruby-shoulda-matchers/spec/shoulda/active_model/validate_uniqueness_of_matcher_spec.rb:1:in
`<top (required)>'
        from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:819:in `load'
        from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:819:in
`block in load_spec_files'
        from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:819:in `each'
        from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:819:in
`load_spec_files'
        from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
        from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
        from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in
`block in autorun'

--
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.



More information about the Pkg-ruby-extras-maintainers mailing list