Git tagging and rails gemfile
git tag –a v0.1.0 –m "gem version 0.1.0" git push origin —tags
and then in a rails application I have on github I edited my gemfile like so:
- git diff is not showing in meld in ubuntu 14.04?
- JRuby Rails Project with Java Code Git Repository Organization
- Git - Heroku deploy app that is composed of a couple of git repos
- Is there a way to tell Capistrano to deploy a Local Repository to a Remote Server?
- What's a good strategy for storing database snapshots in git?
- Rails 4 to pull files from folder and push to s3
gem 'your-gem', git: 'git://github.com/your-repo/your-gem.git', tag: 'v0.1.0'
My question is, when I merge in additional changes into the master branch of my gem, my rails application will still point to the last commit before I made the tag? I just want to make sure adding additional changes to the gems master branch will not break anything in the rails app. Thank You
One Solution collect form web for “Git tagging and rails gemfile”
The correct command is
git push origin --tags, or
git push origin v0.1.0 if you want to push just the one tag, but otherwise yes, your expectation is correct.
See here for more on bundling gems from git repositories: