LLenv
LL install and exec manager
Installation
Add this line to your application's Gemfile:
gem 'ruby-llenv'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-llenv
Usage
Install ruby-1.9.3-p327 to ~/.llenv/ruby-1.9.3-p327/, and also bundle install
required modules to your-project/vendor/bundle. See install script.
$ cd your-project
$ echo ruby-1.9.3-p327 > .llenv
$ llenv install
Execute any command. See exec script.
$ cd your-project
$ llenv exec ruby -v
$ llenv exec rackup
ENV
LLENV_ROOT
Root directory installed all LLs. Default: "~/.llenv"
LLENV_DECLARE_URL
Declare repository URL. Default: https://github.com/riywo/llenv-declare.git
LLENV_ENV
For passing user environment variables to inside of llenv.
$ LLENV_ENV=PORT=1234,LOGDIR=/var/log/log llenv exec env
PORT=1234
LOGDIR=/var/log/log
...
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request