Well... I finally got to try it. I even got my hopes up when the first steps on a fresh Ubuntu 10.10 install didn't crash and burn spectacularly. It was all downhill from there.
First I came up against the RVM install problem ( where you need to add it to your bash profile ), then instead of a smooth install at 'rvm install 1.9.2' I got the imagemagick dummy spit.
I installed it manually and re-ran the install and it seemed to complete successfully.
Then when I ran 'gem install bundler passenger' I get
ERROR: Loading command: install (LoadError) no such file to load --zlib
So then I went and tried installing zlib:
rvm package install zlib
Which went fine, so then I ran
rvm remove 1.9.2
rvm install 1.9.2 --with-zlib-dir=~/.rvm/usr
which failed, but was successful when I ran, instead
rvm install 1.9.2 -- with-zlib-dir=./.rvm/src/ruby-1.9.2-p180/ext/zlib
I then tried
gem install bundler passenger
again, and got the same 'no such file to load -- zlib' error. So zlib obviously isn't installed and cannot be.
So yup... entirely consistent with my experience with RoR thus far, e.g. flakey, time consuming and ultimately unsatisfying.
ok... I found and ran this:
sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev libxml2-dev libsqlite3-dev
rvm remove 1.9.2
then manually deleted all 1.9.2 dir's and files
rvm install 1.9.2
gem install bundler ( worked, so then )
gem install bunder passenger
which was finally successful.
Prior to this I had been down a dozen blind alleys, including building required zlib stuff from source (grrr).
Now anticipating and waiting for next roadblock...
Last edited by dug (2011-04-02 07:23:56)