Skip to content

kch/gemfile-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Usage:
  gemfile-rails [PATH]

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

See also:
  http://gembundler.com/
  http://gembundler.com/rails23.html
  http://docs.heroku.com/gems
  http://docs.heroku.com/bundler

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages