Believe me, I am a Web designer. The reason why this page looks so odd is because you're viewing it in a browser that doesn't support Cascading Style Sheet positioning. It doesn't work in particularly old browsers. However, if you scroll down, you'll find all my content. Don't let this site fool you, I've designed plenty of sites that work in older browsers, this was just my first step towards what is the future of Web design.

heisel.org

heisel.org > Blog > 2005 > 06 > 18

For Google, Rails on Tiger not reading database.yml

Saturday | June 18, 2005 | 10:59 pm  

It’s late but I thought I should post this for folks Googling…

If you’re trying to develop a Rails app locally on your Tiger Mac, and it seems like your app isn’t read­ing your user­name and pass­word for your MySQL data­base server, here’s the issue.

Rails ships with a built-​in all-​Ruby MySQL adapter that doesn’t seem to pick up that username/pass. I’m not smart enough to tell you why, but it doesn’t.

So you’ll need to install MySQL, which you can get here.

Then do:

sudo gem install mysql — –with-mysql-dir=/usr/local/mysql

That installs a native-​built MySQL adapter. Your Rails app will pick up the DB config and all will be well with the world.

Update: I should have included the error mes­sage you’ll see. You’ll get some­thing along the lines of this:

Permission denied for use ''@'yourdomain.really.is.here.com' (Using Password: NO)

And you’ll get this despite the fact that you have a user­name and pass­word in the database.yml file.

Permalink | Comments (1) | Categories: Technology

Dreamhost has Rails, Fastcgi

Saturday | June 18, 2005 | 1:56 pm  

Hooray!

Dreamhost now sup­ports Rails and FastCGI.

Now, other than this blog, I’m nor­mally a TextDrive kind of person, but Erica’s school signed a con­tract with Dreamhost.

I prob­a­bly should have advised them to sign up with TextDrive, but at the time I hadn’t used them that long and Dreamhost was a known quan­tity that I’d feel safe in recommending.

Plus, at the time, the school was just look­ing for cheap host­ing for their mostly static with a wee bit o’ PHP site — which Dreamhost is fine for.

But sub­se­quently, they’ve been look­ing to do more and more and more with their Web site, and in hind­sight, I’ve been wish­ing that I’d sent them to TextDrive because of their great sup­port for developer-​friendly technologies.

But now that Dreamhost has Rails, I can help them build some great apps (in my spare time, ha ha), until they can make a move to TextDrive.

Permalink | Comments (0) | Categories: Projects, Technology, Web design

Disclaimer: I work at The Atlanta Journal-Constitution. The opinions expressed here are my own, and do not reflect those of the AJC, Cox Newspapers, Cox Enterprises nor any other party.

Mail carrier N. Sorenson delivering Christmas mail through the snow. (Chicago Daily News/Chicago Historical Society)