Hacker News new | past | comments | ask | show | jobs | submit login

This looks like a pretty useful project. If you're using a Debian-based Linux distro, you also already have "alternatives," which is a pretty powerful framework for doing almost this exact thing.



Except that Debian's packaging policy shits all over how people actually use and distribute libraries in languages that have native packaging systems -- in my experience both Ruby and Haskell are totally fucked, and Python is done pretty decently considering.

The glacial release cycles and pointless package freezing don't help, nor does their anal-retentive insistence on rearranging everything to fit just-so into their standard filesystem layout. It infuriates them that gems are intended to be self-contained and allow multiple versions to be installed with no symlink assery.


As far as glacial release cycles are concerned, use Ubuntu, not Debian. Problem solved.

And about packages getting rearranged, yeah, I like FreeBSD's ports better too, but you really should be using apt-get only to install rubygems and then use gem rather than apt to install the gems.


Using Ubuntu doesn't always, as Canonical just reuses Debian's crap for a ton of stuff, and if they're nearing a 'release' even everything in testing freezes for fucking forever.

It's much worse with Haskell than any other language I know of -- last I checked there were two broken+old builds of ghc with different names and mutually-exclusive sets of packages that depended on them. On top of that the version of cabal (Haskell's packaging tool) in the repository was so far out of date that you couldn't use it to build anything remotely recent (including useful versions of itself), nor could you use it with anything in Hackage (the central repo).


Amen to that.

And since we're on a Ruby thread, Ubuntu's Ruby 1.9 is 1.9.0 which is (1) buggy (2) broken (3) more than a year old. It is fucking ridiculous, no-one with any sense is using that. This version manager is actually better than apt-get for managing your Ruby installs. Go figure.


Last I checked, Debian was still working on their own elaborate scheme to have 1.8 and 1.9 coexist, without the involvement of the Ruby community. Meanwhile, the latest apt version is a useless 1.9.0 that's at least a year old.

This looks far superior to what they were cooking up, or to the ad hoc shellscripts I've been using. I wonder how well it handles gem binaries, which I found to be the trickiest aspect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: