remi / teamocil

There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimum ruby version

fzerorubigd opened this issue · comments

I get this error with ruby 1.9.1 on debian wheezy :

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /var/lib/gems/1.9.1/gems/teamocil-1.0.6/lib/teamocil.rb:63: syntax error, unexpected tLABEL, expecting ')' (SyntaxError)
  def self.parse_options!(arguments: nil)
                                    ^
/var/lib/gems/1.9.1/gems/teamocil-1.0.6/lib/teamocil.rb:67: syntax error, unexpected keyword_end, expecting $end
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /var/lib/gems/1.9.1/gems/teamocil-1.0.6/bin/teamocil:4:in `<top (required)>'
        from /usr/local/bin/teamocil:23:in `load'
        from /usr/local/bin/teamocil:23:in `<main>'

But every thing is fine inside my 2.1.1 (rbenv) version.
If its possible, its a good thing to support the older ruby as well (as long as they are over there, I do not need ruby in my server except for this)

This is a duplcate of #66. I took the decision to only support Ruby 2+ with the new rewrite of Teamocil codebase.

I’ve made this change and I’ll release a new version soon.

Version 1.1 now specifies Ruby 2+.