Project

General

Profile

Actions

Bug #7850

closed

mixlib-shellout breaks Ruby 1.8 compatibility

Added by Dominic Cleal about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Seeing test failures on Ruby 1.8, due to a new version of mixlib-shellout, which is pulled in by Chef.

/usr/local/rvm/gems/ruby-1.8.7-p371@test_proxy_develop_pr_core-1/gems/mixlib-shellout-1.6.0/lib/mixlib/shellout.rb:36:in `require': /usr/local/rvm/gems/ruby-1.8.7-p371@test_proxy_develop_pr_core-1/gems/mixlib-shellout-1.6.0/lib/mixlib/shellout/unix.rb:294: syntax error, unexpected tSYMBEG, expecting tAMPER (SyntaxError)
..._of?(Array) ? exec(*command, :close_others=>true) : exec(com...
                              ^
    from /usr/local/rvm/gems/ruby-1.8.7-p371@test_proxy_develop_pr_core-1/gems/mixlib-shellout-1.6.0/lib/mixlib/shellout.rb:36
Actions

Also available in: Atom PDF