P
Patrick Gundlach
Hi,
I'd like to ask you for your recommendations. I
develop (privately) a set of libraries which are used in several
projects. Some of these I also want to share with others (i.e.
distribute). When developing I use a directory structure such as
lib/ <--- libraries here
test/ <--- tests
...
Now, when using the library from another project I either need to
1) put the above lib directory in $:, the search path
2) copy the needed libs to the project
or
3) install the library in a system wide/private directory structure
and set the environment variable RUBYLIB.
Of course I would always like to use the newest version of a lib.
What do you guys recommend? Symlinks?
Patrick
I'd like to ask you for your recommendations. I
develop (privately) a set of libraries which are used in several
projects. Some of these I also want to share with others (i.e.
distribute). When developing I use a directory structure such as
lib/ <--- libraries here
test/ <--- tests
...
Now, when using the library from another project I either need to
1) put the above lib directory in $:, the search path
2) copy the needed libs to the project
or
3) install the library in a system wide/private directory structure
and set the environment variable RUBYLIB.
Of course I would always like to use the newest version of a lib.
What do you guys recommend? Symlinks?
Patrick