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

rails error when building ruby-haml - no such file to load -- initializer (MissingSourceFile)



Just did a gem2deb, added rails as dependency (as tests were failing).
I don't see a rails build dependency in old package and it does not
run any tests.

/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
Running tests for ruby1.8 with test file list from
debian/ruby-test-files.yaml ...
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require': no such file to load -- initializer
(MissingSourceFile)
	from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
	from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:182:in `require'
	from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:547:in
`new_constants_in'
	from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:182:in `require'
	from ./test/haml/../linked_rails.rb:19
	from ./test/haml/../test_helper.rb:2:in `require'
	from ./test/haml/../test_helper.rb:2
	from ./test/haml/engine_test.rb:3:in `require'
	from ./test/haml/engine_test.rb:3
	from -e:1:in `require'
	from -e:1
	from -e:1:in `each'
	from -e:1
ERROR: Test "ruby1.8" failed. Exiting.
dh_auto_install: dh_ruby --install
/tmp/buildd/ruby-haml-3.1.3/debian/ruby-haml returned exit code 1
make: *** [binary] Error 1

Any ideas to fix this?

Praveen
-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
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.


Reply to: