get up and running quickly with rvm, gemsets and bundler
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.document
.gitignore
LICENSE
README.textile
Rakefile
rvmify.gemspec

README.textile

rvmify

Give each of your projects it’s own RVM gemset and use Bundler to install the required gems.

Based on this implementation by Wayne E. Seguin

Installation

gem install rvmify

Usage

cd my_project
rvmify .

Or do it with ruby:

Dir.glob("*").each do |dir|
  RVMify.generate(dir)
end

Make sure you have the following line in the .rvmrc file in your home directory:


export rvm_gemset_create_on_use_flag=1

Todo

  • Use Thor for generators
  • Figure out how to handle bundler updates
  • Provide a flag to override the gemset name
  • Play nice with passenger

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a
    future version unintentionally.
  • Commit, do not mess with rakefile, version, or history.
    (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2010 Steve Agalloco. See LICENSE for details.