Notepad++ does not recognize ruby

Hello

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 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