You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, with some help from the IRC rails channel on Freenode, I wanted to tell you that you have a possible bug in bin/translate:5.
require 'rubygems' unless RUBY_VERSION =~ /1.9.*/
This would break if Ruby 1.8.9 would ever come out, since '.' in regex means 'any character.
Congratulations about the gem though, you should add a readme about how to add it to Rails.
I made by doing:
require 'google_translate' @translator = Google::Translator.new
Then I have some methods available (list, detect_language etc.)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, with some help from the IRC rails channel on Freenode, I wanted to tell you that you have a possible bug in bin/translate:5.
require 'rubygems' unless RUBY_VERSION =~ /1.9.*/
This would break if Ruby 1.8.9 would ever come out, since '.' in regex means 'any character.
Congratulations about the gem though, you should add a readme about how to add it to Rails.
I made by doing:
require 'google_translate'
@translator = Google::Translator.new
Then I have some methods available (list, detect_language etc.)
Thanks!
The text was updated successfully, but these errors were encountered: