Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 2.0 syntax is used but GemSpec doesn't specify Ruby 2.0 as required #3

Open
jstangroome opened this issue Sep 18, 2014 · 0 comments

Comments

@jstangroome
Copy link

In ssh.rb the Ruby 2.0 keyword parameter syntax is used:
https://github.com/cloudspace/ruby-fleetctl/blob/master/lib/fleetctl/runner/ssh.rb#L4

In Ruby 1.9 this is not supported and reports an error:

/gems/fleetctl-0.1.4/lib/fleetctl/runner/ssh.rb:4: syntax error, unexpected tLABEL, expecting ')' (SyntaxError)
      def run(host: Fleetctl.options.fleet_host,...
                   ^

Can either (a) the gemspec file be changed to specify that ruby-fleetctl requires Ruby 2.0 or (b) the ssh.rb file, and any other occurrences of Ruby 2.0-only syntax be changed to use Ruby 1.9 compatible alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant