I ended up downloading the railsday2006 bundle from one of the sites (it is in the comments in the Railsday2006 blog article).
Now, Rails is great and all, and it makes the developers do some really nice test driven development, but one thing that escapes me is: Why don't Rails developers document their fucking applications? I am going through each of the submissions and there are about 150+ of them. Out of 20 so far, there have been maybe TWO (yes two) which bothered to put a README_FOR_APP in the doc directory. But almost 17 of those twenty had unit/integration tests written.
How is it that a developer writes up 8 files and hundreds of lines of test code, but can't do the eventual user of his/her code the courtesy of including a simple readme file?
Something is really whacked here, and I'm talking general attitudes and philosophy here.
Anyhoo, back to the topic. So I was playing around with the WeRateStuff app by the http://WeBreakStuff crowd, and one of the things is to install various gems. One of them is RMagick. Long story short, HiveLogic has an
excellent writeup on their blog.
Anyhoo, Make sure you install Imagemagic 6.0 or later installed. The version in the HiveLogic article is a from the time it was written up (a bit old). My Tiger install had a 5.5.7 version already installed.
NOTE: You may have to use the following command to set the gcc to version 4.0
sudo gcc_select 4.0
UPDATE #2: Hmm.. it may not be the gcc version, and I may have to revert it back. The "make" is failing on fontconfig.h not being found. So I googled the error message and found something that indicated I may have to do a 'locate fontconfig.h' and then use the full path. There were 2 versions, one in my X11 dir and the other on /opt/local (I think Darwin ports uses that). so I used the /opt/local one because it was newer.Still not go, this time the link failed. So I did a sudo make clean and then make and lets hope this works.
This brings me to RANT NO. 2. Why can't we just have these libs built for different versions? I think it would be good, but that maybe more trouble than its worth. So prolly doing it this way is safer. Anyhoo, GCC continues.
I may have to rever to version 3.3. Lets see. It would be nice if the ./configure part figured this shit out for you. or at least aborted if the right version hadn't ben 'gcc selected'
UPDATE 3: Okay, I GIVE THE F&(K up!!! It uses RMagick, and it just won't install and the loader craps out. I guess i got to update lots of stuff.. so, this way, I guess I'll jsut stop it and not check up weratestuff
This brings me to my gripe: Why can't we turn things off in Rails apps? why can't I just say, I don't care about the images for now, just show me the site. FFS! this is so annoying.
No docs,
No configuration,
But its got tests! and fonts, if you can get the thing to work
Oh and if you want to run more than two apps? well, do two rails installs.
I don't really know why this doesn't get old with people? There is truckloads of Repitition, but no one seems to care.
What gives? Am I the crazy one? Why isn't Rails a bit more like Camping or Django?
Caveat Emptor. And thanks to Hive logic for an excellent writeup FWIW.. :)
ciao!