Forum: Ruby Notepad++ does not recognize ruby

7ffb20179ee8648acf1929e0b150015b?d=identicon&s=25 Dagi12 Dagi12 (dagi12)
on 2014-03-30 23:43
Attachment: cmd.jpg (30 KB)
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.