How to install gem from GitHub source?

Vojto picture Vojto · Apr 5, 2010 · Viewed 207.4k times · Source

I would like to install gem from the latest GitHub source.

How do I do this?

Answer

Dominik Honnef picture Dominik Honnef · Apr 5, 2010

well, that depends on the project in question. Some projects have a *.gemspec file in their root directory. In that case, it would be

gem build GEMNAME.gemspec
gem install gemname-version.gem

Other projects have a rake task, called "gem" or "build" or something like that, in this case you have to invoke "rake ", but that depends on the project.

In both cases you have to download the source.