Made the script idempotent
Added to install ruby-dev if already not installed
Merge pull request #2 from ashrafuzzaman/master

Made the script idempotent