I've been trying to get Ruby on Rails working on my Snow Leopard 64-bit MacBook Pro. I followed the instructions in Agile Web Development with Rails and everything seemed to install fine (and allows me to create a demo site), but I got an error to do with sqlite3
when trying to start the web server on my simple demo site (see this question for details of the error I get). I suspect at some point I've managed to install the wrong version or achitecture of a package (I'm using MacPorts) which is causing the problems.
Note: I'm not re-asking that previous question, what I want to know is Is there a way I can determine exactly which versions of each ruby package I have installed, and for what architecture they were built?
I've (foolishly) lost track of the sudo port install
lines I've typed so I'm not sure what's currently on my system to try to diagnose how to fix it.
I'd like a list of something like:
Ruby v.1.9.2 - 64bit
Rails v 2.1 - 32bit
... etc.
Alternatively can I do something (short of reinstalling OS X and XCode) to remove all traces of Ruby from my system and start again?
If you have advice on how to fix the sqlite3
error I'm getting, please answer on the question linked to above, not here.