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…
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
blog,
charts,
google,
Rails,
Ruby. Written by:
stjernstrom
Yesterday I upgraded merb to 1.0 and I got in some trouble that I solved pretty fast. Last night I started an empty application an got trouble again, but this time for real. I did a fresh install (removed all merb gems and datamapper gems). I generated a fresh merb app with merb-gen but i could not get it to work and all i got from merb was empty replies.
In this post I will try to describe the steps I took to track the problem down and how I solved it.
Read More…
Posted in
Merb,
Programming,
Ruby at November 16th, 2008.
6 Comments
Tagged with
gems,
Merb,
Ruby. Written by:
stjernstrom
Today i thought that i should give the new merb release a try. When updating my merb gems i got the following message.
1 2 3 4 5 6
| > sudo gem update
Password:
Updating installed gems
Updating merb
ERROR: While executing gem ... (Gem::InstallError)
merb-core requires RubyGems version >= 1.3.0 |
This post is how i solved my problem updating RubyGems to 1.3.1 on Mac OS X 10.5.5
Read More…
Posted in
Merb,
Ruby at November 14th, 2008.
2 Comments
Tagged with
gems,
Merb,
osx. Written by:
stjernstrom
Today one of our server got in trouble with an ACE encoded IDN domain. The problem seemed to be rails in combination with nginx’s X-Sendfile feature. The result became that when accessing the site trough the IDN domain x-senfile did not send any files….
Our quick and dirty solution (until we have found the source/or solved the problem) became redirecting all traffic from the IDN domain to the domain without strange-swedish-characters.
With nginx this is as simple as in most webservers just put the following code before you original server configuration in nginx.conf.
1 2 3 4
| server {
server_name xn--svenskdomn-y5a.se www.xn--svenskdomn-y5a.se;
rewrite ^(.*) http://www.svenskdoman.se$1 permanent;
} |
And Bowang! All requests to www.svenskdomän.se will be redirected to www.svenskdoman.se.
Domain names have been changed to protect the innocent
Cheers!
Posted in
Hosting,
Rails at May 21st, 2008.
No Comments
Tagged with
Hosting,
nginx,
Rails. Written by:
stjernstrom
Yesterday i was updating all my ruby gems. During the update a got disturbed by something so i did not pay attention what gems got updated.
This morning i found my current app not starting up.
This is how i solved it
Read More…
Posted in
Ruby at May 13th, 2008.
4 Comments
Tagged with
gems,
Ruby. Written by:
stjernstrom