Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riywo/ruby-llenv
https://github.com/riywo/ruby-llenv
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/riywo/ruby-llenv
- Owner: riywo
- License: mit
- Created: 2012-11-17T08:43:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-30T03:05:56.000Z (about 12 years ago)
- Last Synced: 2024-09-30T13:18:30.222Z (3 months ago)
- Language: Ruby
- Size: 172 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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](https://github.com/riywo/llenv-declare/blob/master/.lib/ruby/install).
$ cd your-project
$ echo ruby-1.9.3-p327 > .llenv
$ llenv installExecute any command. See [exec script](https://github.com/riywo/llenv-declare/blob/master/.lib/ruby/exec).
$ 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](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
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request