Packaging rack-based applications for Fedora

Michal Fojtik mfojtik at redhat.com
Thu Feb 10 16:12:32 UTC 2011


Hi,

I want to ask if there are any policies or guidelines for packaging
'rack-based' (Sinatra/Rails/..) projects for Fedora.

Since I started packaging Deltacloud API (Sinatra app) I got into
situlation that I want to install it as a gem and then run it by
'deltacloudd' command (will basically spawn thin).

But the application itself is installed into $RUBYGEM_PATH.

So my questions are:

* Where should be these application installed?

My preference is to install them inside /usr/lib or /usr/share directory.

* Should be they marked as a 'rubygem-*'?

My opinion is *no*, because they will not provide 'gem' functionality,
since they are not 'libraries'.

* What if they are already packaged as 'gem', should be they installed
   using 'gem install'?

My opinion here is that it doesn't matter what extension is used, it's
still 'packaged source', so it can be 'unpacked' by gem install.

* Is there something else I forget?

For sure.



   -- Michal

PS: https://bugzilla.redhat.com/show_bug.cgi?id=674060 (deltacloud-core)

-- 
--------------------------------------------------------
Michal Fojtik, mfojtik at redhat.com
Deltacloud API: http://deltacloud.org
--------------------------------------------------------


More information about the ruby-sig mailing list