[Rails] Re: ActiveRecord (not Rails!)

2011-08-18 Thread Marc Chanliau
7stud -- wrote in post #1017182: Do you have mysql installed? mysql and the ruby mysql adapter are different things. Yes of course! And I have a database ready to be used with an activerecord application. -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: ActiveRecord (not Rails!)

2011-08-18 Thread Marc Chanliau
7stud -- wrote in post #1017183: Also, if you post your question plus the 'gem environment' output in the Ruby forum, they will be able to pinpoint what is going on very quickly. Your question is really a rubygems question, so posting it in the main Ruby forum is more appropriate. I posted

[Rails] Re: ActiveRecord (not Rails!)

2011-08-17 Thread Marc Chanliau
7stud -- wrote in post #1017100: Post the output of: $ gem environment Here goes: ~ marcc$ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.6.2 - RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin11.0.0] - INSTALLATION DIRECTORY:

[Rails] ActiveRecord (not Rails!)

2011-08-16 Thread Marc Chanliau
I'm learning to use activerecord (not rails). Two gems are necessary for this: the activerecord gem and the mysql adpater (I'm using MySQL). I installed both gems (I think successfully). When I inspect the directory where all my local gems are installed, I get this: