I have installed Ruby from rubyinstaller-2.1.3 which gives an icon in
the Windows program list “Interactive Ruby”. If I click on this, the
error message comes up: “Windows cannot find C:\Ruby21\bin\irb.bat”.
However, irb.bat does exist in the bin folder. If I run irb.bat from a
command line facility there is the message “DL is deprecated, please use
Fiddle”. Thus the link to irb from the icon seems to be broken or was
never made. I do not know what DL or Fiddle are.
When You search in Google for “DL is deprecated, please use
Fiddle” expression, there will be some questions&answers about it too.
Many says that it is not error, only warning information. For instance
I use Ruby v 2.0.0 and I get the same warning, without any problems with
running the application written in Ruby.
If the icon is not associated with irb.bat, You can manually change the
path in properties window of Your icon.
I dont’t think so. But try to make another, self made icon. Go to the
Ruby\bin folder, right-click on irb.bat file, drag to any folder like
Desktop, create icon (automatically associated with proper file), then
change icon picture from Win default to Ruby one. You can find it in
ruby.exe file. I think, Your new icon will work.
The icon seems already to be associated with irb.bat in C:\Ruby21\bin -
very odd. I see that there is a file irb as well as a file irb.bat -
might this be the cause of Windows getting confused?
Many thanks. I don’t see how to change the icon picture. However, it is
not a big problem for me as I usually run irb from the command line. I
thought I should report it, though, as it must mean that there is a
fault in the Ruby installation procedure.
I thought I was making a destop shortcut but found that I had moved the
file itself on to the desktop.
I am not really interested in pursuing this, though - I can run irb from
the command line.
Regards
John
Have You created new working shortcut for irb.bat, for instance on
Desktop? If yes, then right-click on it, choose “Properties”, then click
“Change Icon” button (I am translating it from Polish version of
Windows, so there may be some differencies). The default system icons
are stored in %SystemRoot%\system32\SHELL32.dll path, so in new popup
window change path (using browse button) to C:\Rubyxxx\bin\ruby.exe and
You will find one Ruby icon.