Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   How to tell Scite where Ruby is located (http://www.velocityreviews.com/forums/t854185-how-to-tell-scite-where-ruby-is-located.html)

Li Chen 11-14-2008 10:50 PM

How to tell Scite where Ruby is located
 
Hi all,

I install Ruby to a new place instead of the default path, and I can't
set Ruby's path from within system's enviroment variables due to
write/read restriction on the computer. How can I tell Scite where Ruby
is located so that I still use Ruby?

Thanks,

Li
--
Posted via http://www.ruby-forum.com/.


Phlip 11-14-2008 10:57 PM

Re: How to tell Scite where Ruby is located
 
> I install Ruby to a new place instead of the default path, and I can't
> set Ruby's path from within system's enviroment variables due to
> write/read restriction on the computer. How can I tell Scite where Ruby
> is located so that I still use Ruby?


Options -> Open ruby.properties ->

if PLAT_WIN
command.go.*.rb=c:/cygwin/usr/local/bin/ruby1.9 $(FileNameExt)

HTH!



Li Chen 11-14-2008 11:13 PM

Re: How to tell Scite where Ruby is located
 
Phlip wrote:
>> I install Ruby to a new place instead of the default path, and I can't
>> set Ruby's path from within system's enviroment variables due to
>> write/read restriction on the computer. How can I tell Scite where Ruby
>> is located so that I still use Ruby?

>
> Options -> Open ruby.properties ->
>
> if PLAT_WIN
> command.go.*.rb=c:/cygwin/usr/local/bin/ruby1.9 $(FileNameExt)
>
> HTH!


Hi,

Thank you very much.

I change the line to the following and it works:

if PLAT_WIN
command.go.*.rb=C:/Documents and Settings/chen73/My
Documents/Ruby/bin/ruby.exe $(FileNameExt)

Li
--
Posted via http://www.ruby-forum.com/.



All times are GMT. The time now is 11:53 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.