I’ve made an application under Ubuntu 11.04 32-bit and am trying to upload it to an Ubuntu 10.04 64-bit server.
I can’t get it running, because it’s buggin about sqlite:
rake aborted!
<my rails dir>/vendor/ruby/1.8/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.so: wrong ELF class: ELFCLASS32
Apparently, I did something wrong. My guess is the 64-bit is causing problems. Can it be fixed?? and HOW?
Thanks in advance!
You’re trying to run a 32-bit native (ie, compiled) gem on a 64-bit OS.
Un-vendor your gems and re-install/compile them on your production server.