ruby on rails - Update local gem source code -


i'm testing gem in rails project.

the current gemfile:

gem 'mygemname', path: '/path/to/my/gem' 

when edit gem locally can build gem, remove gem gemfile, run bundle install, add gem gemfile , run bundle install again. there easier way locally?

if use bundle config local.gem_name /path/to/local/git/repository command line every time reload application load latest source file system.

to remove changes (when have pushed code github or rubygems), need run bundle config --delete local.gem_name

source: http://bundler.io/v1.10/git.html


Comments