Michael Pavling wrote in post #1035507:
The bottom line is that the latest version of Ruby,
Rails, and MySql do not work together.
Apparently it *does* work.
Just sayin' ...
yes, but sweeping declarative statements are never going to be a good
starting point for taking advice :-/
Stephen, how about modifying your assertion thus, which may be a
better place to start reflection:
"The bottom line is that I can't get the latest version of Ruby,
Rails, and MySql running on Windows"
PS in your OP, you say:
"I create the most basic rails project (rails generate demo index,
uncomment the last line of the routs.rb [sic] file), run the sever and
navigate to page and get:"
...but you don't mention in that list any changes you made to the
database.yml file.
I appologize and agree. It was the end of two full days of frustrations
and I should have been more polite to those who were taking their
valuable time to try and help me.
I am new to the world of Rails and began by installing all the latest
versions of things: Ruby 1.9.3, Rails 3.1.3, and MySQL 5.5.17 (Windows
7 64 bit).
I did a few tutoritals using SQLite and it is indeed very nice.
However, I know that I will need to use Rails with MySQL for production,
therefore I need to go ahead and get used to it while learning.
Coming from the C#/Silverlight development world where things are highly
integrated and just work, I'm finding that the promise that Ruby on
Rails is fast and fun to be untrue(and I know this will bring much
flack.. but its true). I asked my colleque (a very experienced developer
as well) to try to do a "hello world" application in rails using MySQL..
after many many hours of installing, reinstalling, reading blogs, etc..
no bananana. Honestly, I find that very disappoining.
I will try the detailed advice above (thank you for it) and let you guys
know what happens. If i get it working, I will put up a detailed
article on a blog so as to save the next poor newbie. However, the fact
that it is necessary is truly sad. It is what I hate about open source.