17 Mar 2009

How to install Ruby on Rails on almost any popular Operating System?

cheat sheets, rails posted by kapil

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.

Mac Official Rails Tutorials from Apple Developer Website – http://developer.apple.com/tools/rubyonrails.html
Leopard This is one of the most comprehensive tutorial on installing rails on Mac OS X 10.5(leopard)  http://hivelogic.com/articles/2008/02/ruby-rails-leopard
Ubuntu Installing Rails on Ubuntu Fiesty Fawn http://www.urbanpuddle.com/articles/2007/05/09/install-ruby-on-rails-on-ubuntu-feisty-fawn
Vista http://www.michaelwales.com/ruby-on-rails/installing-ruby-on-rails-on-windows-vista
Windows XP http://agilo.us/2009/03/15/rails-on-windows/
Windows 2003 http://kosmaczewski.net/2005/11/25/how-to-install-ruby-on-rails-in-windows-2003/
RedHat http://www.redhat.com/magazine/025nov06/features/ruby/
Solaris http://www.nowastedmoves.com/2009/geekery/installing-ruby-on-rails-on-solaris-10-1008-2/

Also check out cskruby optimized for the Sun Solaris Platform http://cooltools.sunsource.net/coolstack/

CentOS http://www.ruby-forum.com/topic/178186
Virtual PC http://www.grapethinking.com/installing-ubuntu-feisty-fawn-on-virtual-pc-to-run-ruby-on-rails

Yes, I know this is not a operating system

Did you like this? Share it:
16 Mar 2009

We are going to Rails Conf 2009

rails, railsconf posted by kapil

RailsConf 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.

Did you like this? Share it:
15 Feb 2009

Open Maturity Model – Let’s share Best Practices without auditors or certifications

rails, rmm posted by kapil

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

Did you like this? Share it:
25 Nov 2008

Presented faceted search using ultrasphinx

plugins, rails, rails plugins, solr posted by Akhil Bansal

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.

24 Nov 2008

Terminate called after throwing an instance of ‘int’

rails posted by Akhil Bansal

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!!!

Next Page »« Previous Page