Updating a Ruby gem from Github

I'm relatively new to Ruby on Rails. I'm using a particular gem my_gem in my project. In my Gemfile I see an entry gem 'my_gem' "1.2.3".

my_gem is in source control on Github. I've pushed some changes to Github. Now I'd like to update the version of my_gem in my Rails project.

I'm unclear about gem update my_gem. How does my Rails project know where to find the latest version of my_gem?

Edit: I'd prefer not to include a Github path. Perhaps I can publish to Ruby gems instead?


If you have your gem listed like this example from the Bundler website:

gem "nokogiri", :git => "git://github.com/tenderlove/nokogiri.git"

your project will pull the latest source from your GitHub repository whenever you update the gem in your project.

Need Your Help

Image sitemap. Image with multiple locations tags are valid?

image syntax sitemap

I have question ebout generatong image sitempap as described here: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=178636

Mac Os X: Ways (IDEs, Tools, etc.) to develop application with using C# without bootcamp and virtual machine

c# .net osx monodevelop xamarin.mac

I'm a student who is studying Business Informatics. In college, we are using Visual Studio but at home I'm a Mac user. This is where the problem starts; I installed Vmware Fusion to install Windows...