Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fix_mah_gemfile

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fix_mah_gemfile

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

   $ 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

FAQs

Package last updated on 12 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc