tags:

views:

779

answers:

2

Hello,

I know this is probably kind of noob question, but I never tried this before and I'm not sure how to do this.

So when I installed my gem with gem utility it installed too old version. I want latest version, that is on GitHub.

I could just download source, but I want to be able to load with gem in my Ruby code.

Any ideas?

+3  A: 

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.

dominikh
Thanks that helps a lot.
Vojto