Project

General

Profile

Actions

Backport #4220

closed

Non-descriptive error when failing to load compiled library

Added by harking (George M. Harkin) over 13 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
[ruby-core:33964]

Description

=begin
When loading nokogiri that was compile on a different architecture the error that is given simply states that it could not load nokogiri/nokogiri

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- nokogiri/nokogiri (LoadError)

Expected Behavior:

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': could not load file. Incorrect architecture. -- nokogiri/nokogiri (LoadError)

It would be cool if the current arch is listed and what the arch of the target load was.
=end

Actions #1

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby 1.8 to Backport187
  • Description updated (diff)
  • Status changed from Open to Closed
  • ruby -v deleted (ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux])
Actions

Also available in: Atom PDF

Like0
Like0