Closed drafie closed 10 years ago
Not sure what is going on - I installed per instructions. I am using CAP 3.2.1, Ruby 1.9.3
created Gemfile added gem to it ran bundle
cap aborted! SyntaxError: /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: syntax error, unexpected tLABEL, expecting ')' def self.post(team: nil, token: nil, via_slackbo... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: Can't assign to nil def self.post(team: nil, token: nil, via_slackbot: fa... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: Can't assign to nil ...elf.post(team: nil, token: nil, via_slackbot: false, payload... ... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: Can't assign to false ...oken: nil, via_slackbot: false, payload: {}) ... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:23: syntax error, unexpected keyword_end, expecting $end
source "https://rubygems.org"
gem 'slackistrano', require: false
End user error. Ruby 2.0 required. Duh.
Not sure what is going on - I installed per instructions. I am using CAP 3.2.1, Ruby 1.9.3
created Gemfile added gem to it ran bundle
cap
cap aborted! SyntaxError: /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: syntax error, unexpected tLABEL, expecting ')' def self.post(team: nil, token: nil, via_slackbo... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: Can't assign to nil def self.post(team: nil, token: nil, via_slackbot: fa... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: Can't assign to nil ...elf.post(team: nil, token: nil, via_slackbot: false, payload... ... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:8: Can't assign to false ...oken: nil, via_slackbot: false, payload: {}) ... ^ /var/lib/gems/1.9.1/gems/slackistrano-0.1.0/lib/slackistrano.rb:23: syntax error, unexpected keyword_end, expecting $end
My Gemfile looks like this:
A sample Gemfile
source "https://rubygems.org"
gem "rails"
gem 'slackistrano', require: false