I'd love to see the code behind this if possible - is there any chance it can be uploaded?
Well, I've got all the pieces working (for DEB) but they're scattered across a few projects and I never got around to put them together and package them. The project's README was a tentative in Readme Driven Development, but it stopped there ;) What's the part that interests you? Do you think this could be useful?
Definitely, the ability to package a rails app as a .deb file from within the app itself would be awesome.
CI is a big interest of mine and the idea that the final steps of my sucessful jenkins test run could be:
There are tools out there such as jordansissel/fpm however I don't believe you can run this as a rake task easily.
FPM is not really targeted at apps. It works quite well for gems though. The process you describe is exactly the one I put in place at my previous work, and this is indeed a great convenience. Let me see if I can produce a stripped down version shortly.
awesome, thanks :)
I spent a few hours on this, and I'm now able to package a brand new Rails 3.2 app as a .deb with a few commands! I updated the README, and I hope it is enough to get you started. Please let me know how it goes.
Note that I just renamed the project to 'pkgr'. It is now available at https://github.com/crohr/pkgr
wow, thanks, that's a lot of work! :)
I'll test it out and let you know what happens.
Bug Closed - Source is now online... ;)
And a proper website is now up at http://crohr.me/pkgr/. Don't hesitate to share it, I'm eager to see if people find it useful.