Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Upgrade Rails 2.3 apps to use Bunder, convert Heroku gem manifest format (.gems) to Bundler format (Gemfile)

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore

Gemfile Tools

This library contains two tools:

  • bin/gemfile-from-dotgems: which converts Heroku gem manifest format (.gems) to Bundler format (Gemfile);
  • bin/gemfile-rails: which updates an entire Rails 2.3 application to use Bundler.

Usage for gemfile-from-dotgems:

gemfile-from-dotgems dot-gems-file [, dot-gems-file ...]
gemfile-from-dotgems < .gems
gemfile-from-dotgems < .gems > Gemfile

Usage for gemfile-rails:

Update a Rails 2.3 application to use Bundler:

* Generates a Gemfile from your config.gem lines and heroku .gems file (if present)
* Adds the necessary code in config/boot.rb and the config/preinitializer.rb file
* Excises the config.gem lines from your environment files and the .gems file
* If run on a git repository with a clean stage, stage all the changes made

  gemfile-rails [PATH]

PATH is the path to your rails application. If not provided, the working directory is assumed.

See also:
Something went wrong with that request. Please try again.