Archives for 10 April 2007

Now Rails Hates Me

Tuesday, 10th April, 2007

Previously, I have complained how Linux (and the Linux Gods) truly hated me and went out of its way to make my life miserable. Even repeated sacrifices of Windows and Apples didn’t help until, like a Miracle sent from Tux, I came across PCLinuxOS. This has been wonderful. It works with all my hardware and is really easy to use.

There is one small problem. Since I mentioned Toutatis in the last post, the Linux God Tux seems to have passed the message on to the Rails God to make my life hell once more.

PCLinuxOS is still brilliant. It works really well. It came with Ruby installed (version 1.8.5) and installing ruby gems (0.9.2) was a walk in the park. The problems started when I got all clever and issued:

gem install rails –include-dependencies

The first time, I got an error message saying it could not find rails in any repository, second time it seemed to run ok. Sadly, despite getting messages telling me rails-1.2.3 is properly installed, I can’t get it to run. I get various error messages, depending on what obscure task I am trying to do (eg. “rails demo” produces errors about not having the 1.2.3 version, and needing to edit environment.rb to reflect the actual version…).

This creates a bit of a quandry. I can download (in fact I already downloaded it) the Rails CD version of PCLinuxOS, but I like this installation. It is set up to my preferences. I have spent time tweaking it and installing firefox extensions (for example). The thought of re-installing just to get rails running is nauseating. However, one of the reasons I wanted Linux was to do Ruby / Rails development in a way which matched the deployment server.

Choices, choices… I think it is time for some more sacrifices… Maybe some coffee beans will do the trick for Ruby, no idea for Rails…

 (Update: It seems this has been added to Digg)

I am not sure why I have strayed into current affairs as a topic for debate here, but I promise this will be the last blog post I make on this topic (for a while at least…). Previously, I have ranted about the supposed “outrage” over the 15 sailors and marines held hostage by Iran being allowed to sell their stories, and about them wrongly being called cowards or a disgrace.

For people outside the UK, this may come across as little more than a parochial spat and, to be honest, I am amazed there is so little going on in the world that this is actually headline news. Again, today, I have spent most of the day listening to the radio. This is never a good thing, and especially so when I spend time listening to the Jeremy Vine show on Radio 2 (he gets callers to call in on current affairs topics). I am also very aware that they will screen callers to ensure the cranks get more air time than they deserve.

Knowing all this doesn’t stop the idiocy and bigotry winding me up though. (Again, this is long so most is below the fold)
Read the rest of this post

DOS attack?

Tuesday, 10th April, 2007

This blog started behaving disturbingly after TW’s last post. All posts just vanished. A few minutes later the content reappeared but the Atheist blogroll had become a featureless void.

A quick link to the almighty Mojoey’s site showed that the blogroll was even missing from its own home.

Pinging the blog roll brought this response:

While trying to retrieve the URL: http://www.*************ping.phtml

The following error was encountered:

Socket Failure
The system returned:

(49) Can’t assign requested addressSquid is unable to create a TCP socket, presumably due to excessive load. Please retry your request.

Your cache administrator is admin@******
__________________________

Obviously, an outsider can’t tell whether this is just a server that can’t cope with the huge numbers of enthusiastically blogging atheists (:-D one can always hope) or whether it’s a DOS attack.

The lack certainly brings home what a public service it is. I do hope it’s sorted out soon.