setting for ruby
reference: http://qiita.com/items/ab2ad83ddbaf2f6ce7fb