Well, version 0.1 was shortlived. There was a critical difference between running with WEBrick and running in production environment with fastcgi.
The value of env[“REQUEST_URI”] did not contain “http://host”. So I found a quick solution and we’ll see if there is a better solution tomorrow.
Current solution consists of replacing
@article_url = request.env[“REQUEST_URI”]
@article_url = ‘http://’+request.env[“HTTP_HOST”]+ request.env[“REQUEST_URI”] if @article_url.eql?(@article_url.gsub(/http:/,”).gsub(/HTTP:/,”))
You live and learn…