Created
March 26, 2014 10:06
-
-
Save teohm/9780128 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake local_gem:init | |
rake local_gem:update_projects | |
cd project_dir | |
begin | |
abort if git_staging_dirty? | |
bundle_update(gem_name) | |
abort unless lockfile_modified? | |
git_add(gem_name) | |
git_commit(MSG_GEM_UPDATED, gem_name) | |
ensure | |
cd old_dir | |
end | |
— | |
in local gem dir | |
before push commit | |
update gem lock file in each dependent project directory | |
updater = GemUpdater.new | |
updater.update_project(project_dir) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment