views:

32

answers:

1

Post says it all.

I've cloned a gem (particularly radiant) after clone it from its github source. Anybody tell me how I can install it as a gem?

Something like "gem install radiant --local"?

Thanks,

Joe

+3  A: 

Go to the dir of your cloned repo and run this:

$ rake build

This will create gem file in pkg dir. Then just run

$ sudo gem install pkg/built-gem-0.0.1.gem
Eimantas
+1 This is a particularly useful bit of knowledge.
Andrew
This will only work if there is a Rake task for building the gem. If there is no rake task, but there is a `.gemspec` file, you can use `$ gem build <name>.gemspec`.
BaroqueBobcat
BaroqueBobcat, your answer is what I was looking for, thanks a ton!
TheDelChop