I am just getting into Ruby on Rails, after successfully failing at
getting any other programming language to work locally. RoR appears to
be a repeat! One problem I keep running into is getting a database up
I’m working out of Windows XP.
I installed MySQL, it works, runs, will create tables etc. BUT, when I
do rake db:migrate…it fails and tells me I have a bad descriptor.
I’ve spent over 24 hours now searching, uninstalling, reinstalling,
deleting, re-creating everything, and to no avail. SQLite also doesn’t
want to work. I am a TOTAL newbie to programming, so I have no idea
what’s needed or wanted by any of each of these little things I
installed. I just follow the instructions, install what they recommend
and cross my fingers.
Also, I’m not connected to the internet via XP, so I had to manually
download and install ALL gems, how fun. Anyway, do I NEED to be
connected for the MySQL gem, or should I already have it? What should
I have in order for everything to work, so far I have WEBrick running,
I have an IDE, I have the package manager, I have Ruby installed, it’s
only the dbs that are haunting me.
I’ve checked the database.yml file and MySQL and WEBrick are both
running. I don’t get it.
What else do I need? What should I try?