ruby has lots of love?

R

Roger Pack

When I get errors in irb sometime, the outputs looks like this:
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:in
`gem_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
 
7

7stud --

Roger said:
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.
 
B

Bertram Scharpf

Hi,

Am Sonntag, 19. Jul 2009, 11:12:50 +0900 schrieb Roger Pack:
When I get errors in irb sometime, the outputs looks like this:
=20LoadError: 126: The specified module could not be found. -
[...]
c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `requir= e'
from (irb):2
from =E2=99=A5:0
=20
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).
You can reproduce it by entering

puts "\x03"

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

Bertram


--=20
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
 
R

Roger Pack

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
 
C

Caleb Clausen

Hi,

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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top