Sha256: 8bcae0967caac7b627f112cb8cd078092a27686109dc847637799cdc51a782e5

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

# FixMahGemfile

This gem provides a script that modifies the Gemfile and runs bundler in one step.  This
came about because I needed to regularly make local modifications to a shared project, but
didn't or couldn't push my locally needed changes upstream.

## Installation

    $ gem install fix_mah_gemfile

## Usage

Change your directory to the project, where the Gemfile is available.  First generate a sample
.fixgemfile_rc in the current directory with:

   $ fix_mah_gemfile --generate_rc

Then edit the .fixgemfile_rc with the local changes you'd like to apply when running the fix_mah_gemfile
script.

```ruby
   $ fix_mah_gemfile
   changing gem: args ["libxml-ruby", {:to=>"~> 2.6"}]... found at 147
   gem 'libxml-ruby', '~> 2.6', :require => nil
   removing therubyracer... found at 
   Not found
   removing guard-less... found at 
   Not found
   bundle
   Using rake (10.0.4) 
   Using Ascii85 (1.0.2) 
   ...
```

Then before checking-in any changes, either do a git checkout Gemfile* or simply avoid commiting these
local changes to your gemfile.


## 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fix_mah_gemfile-0.0.3 README.md
fix_mah_gemfile-0.0.2 README.md
fix_mah_gemfile-0.0.1 README.md