aeolus-image-rubygem .gemspec file

Petr Blaho pblaho at redhat.com
Tue Dec 20 15:39:15 UTC 2011


Hi,

when working on some patches or reviews I often needs to build 
rubygem-aeolus-image and manually install it as a rpm to system to 
use conductor against new not packaged code.

I tried to use bundler to load aeolus-image rubygem from my modified 
code - using gem 'aeolus-image', :path => 
'/home/pblaho/workspace/aeolus-image-rubygem'
it failed.

I found that it needs .gemspec file to work.

I have just refactored Gem::Specification.new block from Rakefile to 
aeolus-image.gemspec and it works.

I can send a patch with that simple change - but it will need to be 
properly tested if something in Rakefile is not broken (a succeded in 
building rpm from it) by someone else.

What do you thing about introducing this .gemspec file to our repo?
It will let us to use bundler to load that gem from directory (or git repo) 
instead of building and installing rpm package every time.


-- 

With regards
Petr Blaho



More information about the aeolus-devel mailing list