they describe it as "Things I didn’t get from the tutorials. And really needed to know (or remember, or have to look up every ten seconds)."
- Mackenzie Cowell
from Bookmarklet
"My notes for getting all the prerequisites for Matt Knox’s 1st RubyU class (hosted by Sermo) set up on my MacBook Pro (10.5)"
- Mackenzie Cowell
from Bookmarklet
re: setting a root password for MySQL. I always forget it -- so I'm trying a different technique this time, from Dan Benjamin and Mike Clark. Via /etc/my.cnf, allow MySQL access only from the local machine. At least until we start accessing each others' servers in class. More on this and lots of other MySQL tidbits at http://hivelogic.com/article...
- Paul Morganthall
"I ran into an issue today installing the ruby mysql gem on a fresh Leopard system with 10.5.1 installed and the MySQL 5 package for Intel installed. This is based on Dan Benjamin’s great work. To keep this easy, here is the low down. What was happening was an issue with it expecting headers for PPC. PPC? What the??? I’m on intel damn it!"
- Mackenzie Cowell
from Bookmarklet
Thanks for that link -- I ran into that exact problem today. You don't need the mysql gem (C implementation) right away though. For development purposes, Rails ships with a Ruby-based MySQL library. When you connect to the database the first time, it even says something like Hey, you'll want to install the mysql gem for production environments.
- Paul Morganthall
"Welcome to the ruby class prerequisites tester. This will (hopefully) tell you whether you are missing bits of software that are necessary for the ruby/rails class at sermo. step 0 - install the prerequisites: ruby 1.8.6, gems 1.1, git 1.5, imagemagick, memcached, some rdbms (I'll be using mysql); GEMS: piston, memcache-client, rails 2.1, rmagick, rspec, mongrel step 1: git clone git://github.com/mattknox/rubyu_prereq_test.git
- Mackenzie Cowell
from Bookmarklet
"Here are the steps I'll go over: * Intall MySQL 5 * Create the initial MySQL databases * Options for starting MySQL * Confirm that MySQL is running * Set Basic MySQL Security"
- Mackenzie Cowell
from Bookmarklet
"Gems are managed on your computer using the gem command. You can install, remove, and query (amoung other things) gem packages using the gem command."
- Mackenzie Cowell
from Bookmarklet