How to install Ruby on Rails on almost any popular Operating System?
My friends who are starting with Rails usually ask – how to install rails on “operating system of their choice”? And I end up searching for best tutorial for every operating system and sharing that link. On a lazy tuesday morning, I decided to collect all the good links and share it here. If you think I am missing any OS or a great tutorial, suggest the link. Thanks.
Following the DRY (don’t repeat yourself) principle, I am just putting the links of best tutorial (in my opinion) for every operating system.
We are going to Rails Conf 2009
Yes, We are going to Rails Conf this year. Manik, Gaurav and Rishav(subject to his getting the visa) will be attending the RailsConf 2009. Are you going to be there too? Drop us comment, an e-mail , follow Vinsol on Twitter. Let’s get together for some ruby talk, beer and a beverage.
Open Maturity Model – Let’s share Best Practices without auditors or certifications
Nothing to do with OSMM (open source maturity model). There is some discussion going in rails community for Obie Fernandez post on idea of Rails Maturity Model.
I like the basic idea behind defining some sort of maturity model for rails but I don’t think RMM or anything like that should be modeled on CMM.
After spending hours looking at views of many people regarding RMM in blogosphere, twitter and rails business google group , I concluded that we might need some open system instead of something like RMM.
Following is an aggregation of views by various people who feel the need of a some model but dont like the idea of auditors, closed systems or certifications :
For time being , I am calling it Open Maturity Model and trying to draft some basic principles and guidelines.
So, What is Open Maturity Model ?
For Developers
1. Roadmap for Rails developers to adopt best practices defined by the community.
2. Community giving newcomers a more-or-less official set of guidelines for how to produce quality work. Having some sort of guideline from a trustworthy source is becoming more difficult.
3. It will not take fun out of rails or kills innovation. It will just make the rails community stronger and will attract more people who are not yet sure about rails.
4. Judge yourself , instead of an expensive auditor judging you – if you are serious about doing quality work, open maturity model will give you a good point to start with.
5. Let experienced developers share their experience on a common wiki in addition to blog posts about their experiences all on their own.
For Clients
1. A no nonsense, no lingo system to help a prospective client to choose a ROR shop. Give them more than just testimonials , a blog post, or a portfolio. The intent is to establish a minimum standard of operational efficiency so that clients who hire based on it can be sure they aren’t dealing with complete idiots.
2. Let’s share Business Knowledge – most development shops are busy coding and spend little to no effort on marketing or business development. Groups like rails business is a good start in this direction.
For Process
1. XP , SCRUM or whatever. One size doesnt fit all. At Vinsol, we follow a process which has evolved after lot of not-so-successful iterations. It works for us and we want to improve and share it with community. But we don’t want to call our process or anybody else’s practice “The Rails Way”. Again , a community website where companies can register and document the level of process they implement allowing for clients and other companies to provide feedback so they could get ranked.
2. Instead of wasting resources proving that we are level 4 or level 5 by an external auditor, lets just focus on why we are in the business – writing good quality code, having fun doing it and building awesome applications.
3. Continous improvement is very important for growth and survival of many rails companies with thousands of rails shops opening around the world.
Certifications
1. Replace open source projects with certification – open source can play the role of certification. Have you ever contributed or tried to contribute to rails core ? or, show us an interesting/useful open source project you started, or point to bugs that you submitted.
Looking for ideas and suggestions.
Update : Matthew Ford has started a rails manifesto document in github. Please add your best practices here – http://gist.github.com/65183
Presented faceted search using ultrasphinx
The first ruby funday held on 22nd Nov 2008 in New Delhi, India. I presented on faceted search using ultrasphinx. I also gave a live demo there. Here are the slides:
You can ask me if you have any doubt.
Terminate called after throwing an instance of ‘int’
Ever faced “terminate called after throwing an instance of ‘int’ ” error in RubyOnRails?
or
Specially on linux machine only not on windows.
Error occurred specially when dealing with some image handling, or with attachment_fu.
The cause of this error is image_science 1.1.3 . Add :processor => “Rmagick” to has_attachment options and get rid of this problem.
Enjoy!!!









