Today I had a really painful experience with rails InvalidAuthenticityToken. It turned out not to have anything to do with rails at all and there is where the painful part come in to play.

Read More…

Posted in Hosting, Programming, Rails at March 23rd, 2009. 1 Comment
Tagged with , , , . Written by:

I generate a loooot of passwords. I try out a lot of webservices and all those needs passwords. I control about 70-100 servers and all those have different services and accounts. So I generate a lot of passwords… and this post is about how I do it do make it as easy as possible.
Read More…

Posted in Mouseless, Operatingsystem at January 13th, 2009. 2 Comments
Tagged with , , . Written by:

Configure and compiling VIM under OS X did not work out-of-the box for me. I did not want to use MacPorts VIM as it’s dependent on ruby (if you like me want that) and I did not find a way of compiling MacPorts VIM against my local ruby.

This post is about how to get VIM compiling on OS X/intel without the use of MacPorts.

Read More…

Posted in Programming at January 11th, 2009. 4 Comments
Tagged with , , , . Written by:

Just before christmas I worked with one of our customers new server cluster or cloud if you may.
This cluster has production nodes and staging nodes and this post is about how to get capistrano to play nice with both production and the staging environment.
Read More…

Posted in Hosting, Programming, Rails, Ruby at January 6th, 2009. 8 Comments
Tagged with , , , . Written by:

Just released a new version of capistrano_colors. This is a total rewrite from the last version. This post show some of the bigger changes.
Read More…

Posted in gems, Programming, Projects, Rails, Ruby at January 4th, 2009. No Comments
Tagged with , , , , , . Written by:

I got so tired of all the messy capistrano output so today I released my first public gem.

The name of the gem is capistrano_colors and the aim of the gem is to put some nice and shiny colors on capistrano output. The gem has only been tested with rails but should work wherever capistrano works.

Keep on reading to see some screenshots!
Read More…

Posted in gems, Programming, Projects, Ruby at December 21st, 2008. 6 Comments
Tagged with , , , , . Written by:

Today I where about to analyze a PostgreSQL database with the wonderful pgFouine. On the machine syslog-ng where installed as logging daemon and I have never worked with PostgreSQL logging and syslog-ng. This post is about how to get them to work together.

Read More…

Posted in Databases, Hosting, PostgreSQL at December 15th, 2008. 2 Comments
Tagged with , , , . Written by:

Today I got the chance to give Ruby Enterprise Edition a try. We are currently working with a really fun new environment and you do not get better opportunities to try new stuff as when you have a complete new environment thats not in production. So we gave REE a shoot. When compiling REE with got in trouble really fast and this post is about the quick fix to solve it and some of our early performance results.

Read More…

Posted in Hosting, Programming, Rails at December 15th, 2008. 9 Comments
Tagged with , , , , . Written by:

Finally my friends at newsdesk have a blog. They have started off real good with a comparison of three ruby wrappers for Google charts.

I have great expectations from the newsdesk developers blog. If you are a Ruby and Rails developer you should definitely keep and eye on them!

Posted in Life, Rails, Ruby at November 25th, 2008. No Comments
Tagged with , , , , . Written by:

This is a little memory note for my self and hopefully it can help someone else how to reset MySQL root password.

It happens that we are asked to do some work on our customers dedicated servers and when that happens it’s not that uncommon that there is not a single person alive that has the root password for the MySQL server. When that happen it’s good to know how to reset it ;)

This post is about how simple it’s to reset MySQL’s root password under FreeBSD.
Read More…

Posted in Databases, Hosting, MySQL at November 24th, 2008. No Comments
Tagged with , , . Written by:

pastbedti.me is using WP-Gravatar