Update helper.rb

make this gem work on mac