From: Peter Vandenabeele Date: 2012-01-26T05:39:19+09:00 Subject: Re: Install mysql2 gem in Ubuntu 11.10 with RVM --00248c711a05f0df9b04b76041b3 Content-Type: text/plain; charset=UTF-8 On Wed, Jan 25, 2012 at 9:16 PM, Jim Wharton wrote: > Markus Fischer wrote in post #1042547: > > Hi, > > > > On 25.01.2012 20:49, Jim Wharton wrote: > >> please read > >> /home/jim/.rvm/log/ruby-1.8.7-p352/make.log > > > > As suggest, that content would be helpful. > > > > - Markus > > The last 3 lines are the most important: > > /usr/bin/ld: i386 architecture of input file > `libruby-static.a(dmyext.o)' is incompatible with i386:x86-64 output > collect2: ld returned 1 exit status > make: *** [miniruby] Error 1 > > I've been using this .rvm folder since I was on an i386 version of > Ubuntu 10.10. > > I've since upgraded to 11.10 but left my home directory untouched. Is > that a possible issue? Should I whack RVM and reinstall? > Well, setting up a new test user ($ sudo adduser test) and a single user install of rvm there is very cheap ... That would validate that all the system libraries are OK. I don't recall taking an Ubuntu from 10.04 to 11.10 and keeping rvm on it (by coincidence, all my 11.10 machines are new set-ups, not upgrades). I would validate that first, before removing your rvm from your "main" user account. Peter --00248c711a05f0df9b04b76041b3--