Ruby has lots of love?

When I get errors in irb sometime, the outputs looks like this:

require ‘rmagick’
LoadError: 126: The specified module could not be found. -
c:/ruby18/lib/ruby/gems/1.8/gems/rmagick-2.10.0-x86-mswin32/ext/RMagick2.so
from
c:/ruby18/lib/ruby/gems/1.8/gems/rmagick-2.10.0-x86-mswin32/ext/RMagick2.so
from
c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
require' from c:/ruby18/lib/ruby/gems/1.8/gems/rmagick-2.10.0-x86-mswin32/lib/rmagick.rb:11 from c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:ingem_original_require’
from
c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require’
from (irb):2
from ♥:0

That last line shows a little heart, if it doesn’t show up right in your
email.
Is that expected? Is it there to cheer me up?
Thanks.
=r

Roger P. wrote:

That last line shows a little heart, Is that expected? Is it there to cheer me up?

It sounds like an encoding problem. Try changing the encodig of
whatever app is displaying the irb output.

Hi,

Am Sonntag, 19. Jul 2009, 11:12:50 +0900 schrieb Roger P.:

email.
This is Ctrl-C in cp850 encoding (see
http://de.wikipedia.org/wiki/Cp850).
You can reproduce it by entering

puts “\x03”

Sorry, I cannot test this here because I do not run Windows on any
machine.

Bertram

It sounds like an encoding problem. Try changing the encodig of
whatever app is displaying the irb output.

Hmm. The output is from vannila cmd.exe in doze. Not sure how to change
it (and since it’s default, I’m thinking it’s not an encoding
issue…but I dunno].
=r

On 7/19/09, Bertram S. [email protected] wrote:

Hi,

Am Sonntag, 19. Jul 2009, 11:12:50 +0900 schrieb Roger P.:

That last line shows a little heart, if it doesn’t show up right in your
email.

This is Ctrl-C in cp850 encoding (see http://de.wikipedia.org/wiki/Cp850).

Whether its a heart or ^c, the real question would seem to be this:
why does this strangely named ‘file’ show up in the backtrace at all?
Surely such a bizarre name cannot be correct.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs