Ruby settings, path/env/lib etc.

R

Rube N00b

Hello

I just downloaded the ruby one click installer. I am on a windows
machine with no administrator rights. I install all my personal apps to
desktop/bin.

SciTe wouldn't run properly until I edited the properties to point to
the ruby interpreter; now F5 works fine to compile/run.

I also ended up finding out the hard way that I need to do
| require 'rubygems'
before I could require anything else.

Still, simple examples do not work, usually failing with
|uninitialized constant XXX (NameError)

I assume this is because the lib directory etc. could not be found.

Is there a central place where I can manually change settings?
For example, I just found out about "$:" -- is there a resource that
discusses all the setup/settings/env-vars for ruby? (on windows?)

thanks!
 
1

13

Hi,

I don't think that Desktop\bin is the best place to install something
valuable, because it's full path contains white spaces. In my case
it's: "C:\Documents and Settings\martinsgr\Desktop"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top