After you install Ruby 2.0.0 on a CygWin installed system and if you attempt to run the Ruby commands in normal command prompt it fails to find the Ruby.
This happens if Ruby ins nowhere in your PATH environment variable. In case, if Cygwin is in your PATH it will try to run a Cygwin version of Ruby.
In command prompt:
C:>which ruby
/usr/bin/rubyC:>
In Ruby Command Prompt:
C:>which ruby
/cygdrive/c/Ruby200-x64/bin/ruby
C:>
FIX:
Set Ruby installation location C:Ruby200-x64bin to System Environment Variable PATH.
Then in normal command prompt as well you’ll see system picking up the right ruby.
C:>which ruby
/cygdrive/c/Ruby200-x64/bin/ruby
C:>
<