Dripper is a collection of definitions to install software packages with stow, the GNU package manager. It's always recommended to use package manager provided by your system, but sometimes you need a tool to install alternate packages.
Clone the repository and run the install script:
git clone git://github.com/fesplugas/dripper.git ~/.dripper
And follow the instructions.
drip install redis-2.4.10 drip uninstall redis-2.4.10 drip unlink redis-2.4.10 drip link redis-2.4.10 drip path redis-2.4.10 drip update
You can get a list of all available commands by running
Imagine you have different projects with different requirements and
want to load a different
ruby version for each one. Familiar, right?
.env file in the root of your project and append packages
drip path ruby-1.9.3-p392 >> .env
Now you can run all commands using
drip, which will act as a namespace.
$ ruby --version ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1] $ drip ruby --version Sourced /Users/fesplugas/Development/dripper/.env ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.2.1]
Notice that you can also set environment variables on that file.
- Sources are downloaded into
- Packages are compiled into
Thanks to sub, a delicious way to organize programs.