On Tue, Dec 6, 2011 at 6:24 PM, stephen d. <[email protected]> wrote:

> I've honestly spent 2 days trying just about every piece of advice on
> the internet.  The bottom line is that the latest version of Ruby,
> Rails, and MySql do not work together.  Or if they do, nobody knows how
> to make them do so.

Minus a few thumb-fingered mis-types and sanity checks:

521  rvm install ruby-1.9.3-preview1
522  rvm use 1.9.3
523  rvm gemset create 3.1.3
524  rvm use [email protected]
526  gem install rails -v=3.1.3
528  rails new swamp -d mysql
529  cd swamp
535  vi config/database.yml
536  rake db:create
540  rails g resource thing name:string age:integer
541  rake db:migrate
544  vi app/controllers/things_controller.rb
546  vi app/views/things/index.html.erb
547  rails s

...and... lights! camera! action!

mysqld  Ver 5.1.41 for apple-darwin9.5.0 on i386 (MySQL Community Server (GPL))

Apparently it *does* work. And maybe if you responded to the specific
questions already posed by Colin Law, we could help you past whatever
is not working in your environment.

Just sayin' ...
-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to