So, we have libraries and utilities that we depend on installed to a
separate directory, one directory for each different version and
architecture. How can we do the same with Ruby and its libraries?
I'd like to see something like:
So, each different Ruby library or gem would be installed to a
different folder. Is that possible? By default, all the Ruby
libraries and gems are installed inside the Ruby directory. And I
think I'd prefer to keep them separate.
Ruby is installed in /foo. I want to install a Ruby library to /goo,
and another Ruby library to /bar. How straight forward is that to set
up? What flags to I need to give to each libraries setup.rb or
exec_conf.rb?
So, we have libraries and utilities that we depend on installed to a
separate directory, one directory for each different version and
architecture. How can we do the same with Ruby and its libraries?
I'd like to see something like:
So, each different Ruby library or gem would be installed to a
different folder. Is that possible? By default, all the Ruby
libraries and gems are installed inside the Ruby directory. And I
think I'd prefer to keep them separate.
Ruby is installed in /foo. I want to install a Ruby library to /goo,
and another Ruby library to /bar. How straight forward is that to set
up? What flags to I need to give to each libraries setup.rb or
exec_conf.rb?
sudo ruby setup.rb install --prefix="foo"
You'll either need to symlink into the typical paths or add to the
$LOAD_PATH.
BTW, gems basically does this already, albiet foo-1.0.0/, Not usre
about architecture though.
Also, I have a project that relates to this, so I'm wonder what you
working on?