How do i set rubylib on windows?
Specifically I would like to ask a directory like
/Depot/Ruby/Source/
which contains my ruby scripts.
(PS: Windows drives me crazy… things which are easy on Linux seem to
be quite hard on Windows)
How do i set rubylib on windows?
Specifically I would like to ask a directory like
/Depot/Ruby/Source/
which contains my ruby scripts.
(PS: Windows drives me crazy… things which are easy on Linux seem to
be quite hard on Windows)
Marc H. wrote:
How do i set rubylib on windows?
Specifically I would like to ask a directory like
/Depot/Ruby/Source/
which contains my ruby scripts.
(PS: Windows drives me crazy… things which are easy on Linux seem to
be quite hard on Windows)
It’s not so bad. On windows I have a file /local.rb like this:
require ‘rubygems’
$LOAD_PATH.concat %w{
C:/prj/something/lib
C:/prj/something-else/lib
}
Marc H. wrote:
How do i set rubylib on windows?
Specifically I would like to ask a directory like
/Depot/Ruby/Source/
which contains my ruby scripts.
(PS: Windows drives me crazy… things which are easy on Linux seem to
be quite hard on Windows)
Assuming XP here:
My Computer [Desktop Icon(usually)] => Properties [Menu
Selection]
System Properties [Window] => Advanced [Tab] => Environment Variables
[Button]
Environment Variables [Window] => System Variables [Panel] => New
[Button]
NT has some similar chain, don’t know about Vista, sorry
(PS: Windows drives me crazy… things which are easy on Linux seem to
be quite hard on Windows)
Or install CygWin. There are still issues, but in general it will
simulate a
GNU/POSIX environment, all the way down to a mutilatable /etc folder!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs