When using ruby in everyday life, there are definitives well-known drawbacks.
Managing ruby versions, multiples rubygems instance, dealing with distribution packaging-system, libreadline inconsistency…
There is also a well known solution : Ruby Version Manager (RVM)
However, if you’ve never done it, rvm can be a real pain to install and manage.
This is why I made, for every Debian Squeeze users, this little script, which should get you From Zero to Ruby1.9 in a matter of time.
And for Readme’s haters :
bash < <(curl -s -k -B https://raw.github.com/khemael/ruby1.9.2-rvm-ready-debian-squeeze/master/ruby1.9.2-rvm-ready-debian-squeeze.sh)
Note this script May also work under :
- Debian 5 Lenny
- Ubuntu 10.04 LTS
- Ubuntu 11.02
Let me know if this was usefull.