Lucas Nussbaum from the Debian project has put a lot of work into improving the state of Ruby/Rails packages in Debian, perhaps we could ask him for some advice on common problems that he’s had to deal with?
Sean, I have worked with Lucas in debian ruby team. I have been discussion the issues in the ruby team and we will continue to work with them. Things are much better for ruby in debian thanks to work done by Lucas, Antonio etc.
Sorry but I have to repeat myself: You’ll never succeed for getting all dependencies in the right versions into Debian. Even if you do for one release you’ll basically have to start over with the next one. Not to mention the conflict hell if you want to install another ruby project alongside. Really consider just building a bundler cache in vendor/ during package compilation.
Jonne, I agree it is going to be very difficult (even impossible as you say) to get all dependencies to debian. But we will try all intermediate methods like custom repos (aka ppa) and even the bundler option you are suggesting. May be we will try this as the first option. Thanks.
There will be live packaging sessions everyday at 10pm IST or 8.30am PST ot 4.30pm GMT at the irc channel mentioned below. Join in, learn packaging and contribute to diaspora packaging effort.
We had to spend some extra effort working on an obsolete gem Can someone respond to this https://github.com/diaspora/diaspora/issues/3735 ? I requested the removal of this package on the same day it entered!
Well personally I’d be happier just doing it the RVM way. IMHO forcing users to install all the Ruby gems to the system is a bit restrictive and to make installation easy for anyone we can pull the gems under the users RVM installation easily without having to touch the system Ruby.