I have been trying to get the 30 minutes tutorial "Rolling with Ruby on
Rails revisited" going for a week now with zero luck. (Actually, I am
trying this at work as I am the one tasked to see how usable it all is,
so it was a work week, meaning 40ish hours.)
I got instant rails, as the tutorial said I should, but it could not
connect to MySQL. I changed this and that and got it to connect. Then,
I could not get it to generate the new application. (That is the part
where I type in "rails cookbook2". The problem was that, if I typed it
in at the location given, it could not find the correct thing to run as
if there was a pathing problem. I searched for executables called
"rails", found one and pointed there and it ran. Then, when I tried to
run the next rails command, "ruby script\generate scaffold recipe
recipe" I could not get it to do anything noticeable at all. Well, I
struggled with this until the frustration meter pegged again, so I
deleted it all and got a different version of instant rails (from
Well, now I can, again, no longer connect to MySQL but this time I
cannot run apache from InstantRails.exe either.
If I have to spend a week to get the rails version of "hello world"
going, I might as well be using Java. I apologize for the exasperation
but as wondrous as ruby is linguistically, the gold seems to turn to
dross whenever I try to actually do something with it. All academic and
theoretical coding exercises are a joy. All attempts at usable
programming have been crushing.
Ok. Enough of the scream of ultimate anguish.
What is the secret and occult mystery of how to get rails to actually do
what the tutorial says can be done? What magical piece of the puzzle is
omitted that makes it actually work and why has no one else noticed that
doing exactly what it says to do will not yield the results promised?
At the least, can someone point me to a tutorial that will actually
work? I have bought many books on Ruby but none of them work (for me)
for anything but snippets of 10 lines or less. Anything that will break
the log jam will suffice. I am not asking for anyone to do the work for
me. I just want to be able to do the work for myself but rails seems to
be fighting me all the way and winning.