Ruby version requirement
Closed this issue · 3 comments
daveseward commented
Hey, was just trying to play around with this gem and hit a problem with line 127 in builder.rb:
def wrap_bare_methods(ruby_code)
wrapped_ruby_code = <<~RUBY
class BareMethodsClass
#{ruby_code.source}
end
RUBY
Did some digging and it seems that <<~
is a ruby 2.3 thing. I'm running 2.2.10 so it caused a crash for me. Your gem spec lists >= 2.1
, so maybe could update this or perhaps change it back to a <<-
for old ruby?
zeisler commented
Sorry for the delay could you @daveseward open a PR for this?
zeisler commented
Version 0.16.0 contains is now constrained to equal or greater than ruby version 2.3
daveseward commented
Just saw this - thanks :)