Recommendation engine like Apache Mahut with Ruby Rails application



I want to use Apache Mahout in my project on Ruby on Rails for implementing recommendations and collaborative filtering. In Particular my requirements are:

1. suggesting related tags.
2. suggesting related articles.
3. based on user's preferences prompt him for review of articles.
4. based on geographical location, and other meta information of a user, suggest him similar users.

I am open to using any other solution (other than mahout) if it integrates with rails easily and fulfills my requirements.



For what it's worth, the Mahout 'taste-web' module contains scripts that will build a ready-to-use web service around a Java-based Recommender, as a .war file that you can deploy on something like Tomcat, and then talk to via HTTP. That would be accessible from any platform that can make HTTP requests.

http://lucene.apache.org/mahout/taste.html#Standalone+server

I understand total topic very meaningfully explain for php programming , give more details about that point of PHP in future. Thanks