I really wanted to give rails a shot
I am going to start on a new project that needs to be deployed on inexpensive hosting servers by non-technical people. Naturally this pretty much rules out a Java app even though that is my bread and butter environment. While I am learly about ease of deployment of a rails app by a non-technical person I thought I would give it a shot anyway.
So it has been many months since I have last dabbled with Ruby so I thought I would do an update first. Nice try. I got nothing by 404 errors while it was trying to update various libraries. OK, I’ll take the easy route. Install and reinstall with the latest stable release. No problem right? I wish. I downloaded 1.8.6, installed via the supplied installer, installed the rails gem, mongrel and mysql stuff.
I then tried to connect it to an existing database to start work on. Set up the database.yml file to point to the db and all I kept getting was some error that said I had a “1 for 2″ problem of some sort. Yea, that is real descriptive and helpful. An hour goes by, did a few google searches with nothing helping.
I figure, OK, I’ll just get one of my older projects running that was working before right? Nope, still wouldn’t work. Same types of errors. After more than two hours wasted of non-rapid application development I decided to drop the idea of using Ruby. It is a shame because I really want to learn it, but if the stable release can’t get shit working then I can imagine the nightmare of trying to get this thing running on a hosted environment.
Resisting the urge to fire up eclipse and start doing some Grails work, I turned to the old cheap standby, PHP. Seems there is a rails-like framework called CakePHP. Easy download, decent documentation and being PHP it should pretty much run anywhere. I did have to install Apache on my windows box, but with the wamp distro that was simple enough. I was up and running in no time and with a few minor initial quirks that I’m not sure I like it works pretty good. Onward and upward from here.
Don’t miss anything, subscribe!
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.
Comments
[...] Thinking Outloud wrote an interesting post today on I really wanted to give rails a shotHere’s a quick excerpt I am going to start on a new project that needs to be deployed on inexpensive hosting servers by non-technical people. Naturally this pretty much rules out a Java app even though that is my bread and butter environment. While I am learly about ease of deployment of a rails app by a non-technical person I thought I would give it a shot anyway. So it has been many months since I have last dabbled with Ruby so I thought I would do an update first. Nice try. I got nothing by 404 errors while it wa [...]

Though I’m a Perl guy, I’ve used CodeIgniter when I’ve had to go the PHP route. Not a bad little framework either.