Experience Switching From Ruby 1.8 to Ruby 1.9
extralogical.net
extralogical.net
AFAIK if you enter `sudo checkinstall` instead, it installs into your package manager so you can remove it more easily later.
The one powerful feature of Linux distributions is the package management. Every file that you have installed on your filesystem is accounted for...
And now I'm left wondering how this guy updates to next (major) ruby version :P
First, check http://svn.debian.org/wsvn/ for the package you're lusting after. (In this case, pkg-ruby has the ruby1.9.1 package at 1.9.1.243-2 on trunk.)
Then, use svn-buildpackage to build yourself the damn package.
Finally, install the package, basking in the warmth of replicable, reversible package management.
Don't get me wrong—I'm all in favour of package managers. Sometimes, however, they aren't sufficient.
The biggest gotcha was having to modify my application to explicitly open text files in UTF8 mode. But the more than 100% execution speedup was a nice upside.
http://www.google.com/search?q=site%3Aruby-doc.org%2Fcore-1....
There's the documentation for the Array class, but you can't get to it from the 1.9 core documentation:
Here's a decent source for ruby 1.9 docs, though:
http://rubydoc.ruby-forum.com/
Ta-da!
I know it is also a gem and as such the documentation for JSON can be found. But I would kind of like to have the official 1.9.1 standard library. Also because some things changed from 1.8