On Sep 14, 2011, at 7:43 PM, Roger Pack wrote:

>> get current interpreter path
>=20
> Gem.ruby # if you have rubygems loaded
> or
>=20
> OS.ruby_bin
> =3D> "C:/installs/Ruby187/bin/ruby.exe"
>=20
> with the OS gem.
> -r

To add to that: rake adds the constant RUBY, which also holds the path =
of the interpreter running the Rakefile.

Regards,
Florian=