Forum: Ruby Notepad++ does not recognize ruby

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7ffb20179ee8648acf1929e0b150015b?d=identicon&s=25 Dagi12 Dagi12 (dagi12)
on 2014-03-30 23:43
Attachment: cmd.jpg (30 KB)

When I was using ruby 1.9.3 everything worked fine, but I had to change
to version 2.0.0 due to a problem with the encoding, this resulted in
the following problem.

I made ruby shortcut for NOTEPAD++ to running my scripts but command
line started by notepad doesn't recognize the ruby.
I made a shortcut for notepad++ to running my scripts, but the command
line opened by Notepad++ doesn't recognize the ruby at all. My shortcut
looks like this.

cmd /K ruby "$(FULL_CURRENT_PATH)"

When I start the program directly from the windows command line and
writing stuf myself everything works as it should, I mean when I enter
"cmd" then "ruby something" as shown in the picture.

I'm using ruby 2.0.0-p451 from rubyinstaller for windows.
This topic is locked and can not be replied to.