Skip to content

Commit

Permalink
fix #954
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-epifanoff committed Apr 19, 2018
1 parent 35874ab commit a1176cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rhogen
Expand Up @@ -21,7 +21,7 @@ class String
return self
end
def encoding
if RUBY_VERSION =~ /1\.8/ and Encoding.responds_to?('new')
if RUBY_VERSION =~ /^1\.8/ and Encoding.responds_to?('new')
Encoding.new
else
Encoding.default_external
Expand Down

0 comments on commit a1176cc

Please sign in to comment.