From: Eric Wong Date: 2012-01-26T05:38:03+09:00 Subject: Re: Install mysql2 gem in Ubuntu 11.10 with RVM Jim Wharton wrote: > /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? Yes, nuke and reinstall RVM. Generally, you need to rebuild/relink everything not managed by the OS package manager if you're switching between 32/64-bit, switching between OSes, or downgrading the OS...