public
Description: Renv is a simple and dumb environment manager for RubyGems.
Homepage:
Clone URL: git://github.com/fnando/renv.git
Click here to lend your support to: renv and make a donation at www.pledgie.com !
renv /
name age message
file .gitignore Loading commit data...
file README.markdown
file Rakefile
file VERSION
directory bin/
directory lib/
file renv.gemspec
directory spec/
README.markdown

Renv

Renv is a simple and dumb environment manager for RubyGems.

Install Renv:

sudo gem install fnando-renv --source=http://gems.github.com

Or

git clone git://github.com/fnando/renv.git
cd renv
rake gem:install

Then put this on your ~/.bash_profile:

export RENVDIR="$HOME/.renv"
export PATH="$RENVDIR/active/bin:$PATH"
export GEM_PATH="$RENVDIR/active/lib"

Reload your profile with source ~/.bash_profile.

Here's the supported commands

renv use base
#=> create and switch to "base" environment

renv install json -v 1.1.3
#=> install json 1.1.3

renv install "twitter4r xmpp4r"
#=> install multiple gems

renv install fnando-recurrence -s http://gems.github.com
#=> install a gem from github

renv install fnando-recurrence -s github
#=> install a gem from github using the shortcut

renv uninstall json
#=> uninstall json

renv uninstall "twitter4r xmpp4r"
#=> uninstall multiple gems

renv update json
#=> update an installed gem

renv update fnando-recurrence -s http://gems.github.com
renv update fnando-recurrence -s github
#=> update an installed gem using source

renv env
#=> display current environment

renv clone base mycopy
#=> duplicate an environment as mycopy

renv delete mycopy
#=> remove the environment

renv list
#=> list all environments

renv gems
#=> list all installed gems in the current environment

To get all available commands, run renv help.

To add environment name completion support, add this to your ~/.bash_profile:

# complete renv envs
_renvcomplete() {
  COMPREPLY=($(compgen -W "`NAME=${COMP_WORDS[COMP_CWORD]} renv complete`"))
  return 0
}

complete -o default -o nospace -F _renvcomplete renv

Renv outputs colored strings; to disable it add the following to your ~/.bash_profile:

export RENV_NOCOLOR=1

Note: This gem was built before Rip 0.0.2 that handles compiled gems.

MAINTAINER

LICENSE:

(The MIT License)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.