Skip to content

TypeError: no implicit conversion of Symbol into String #25

@thehydroimpulse

Description

@thehydroimpulse

Getting this error when calling:

chef_role :web, 'roles:web'

Within my production.rb file.

Full stack trace:

cap aborted!
TypeError: no implicit conversion of Symbol into String
/Users/daniel/.rvm/gems/ruby-2.1.1/gems/capistrano-chef-1.0.0/lib/capistrano/dsl/chef.rb:5:in `delete'
/Users/daniel/.rvm/gems/ruby-2.1.1/gems/capistrano-chef-1.0.0/lib/capistrano/dsl/chef.rb:5:in `chef_role'
config/deploy/production.rb:3:in `<top (required)>'
/Users/daniel/.rvm/gems/ruby-2.1.1/gems/capistrano-3.2.0/lib/capistrano/setup.rb:15:in `load'
/Users/daniel/.rvm/gems/ruby-2.1.1/gems/capistrano-3.2.0/lib/capistrano/setup.rb:15:in `block (2 levels) in <top (required)>'
/Users/daniel/.rvm/gems/ruby-2.1.1/gems/capistrano-3.2.0/lib/capistrano/application.rb:15:in `run'
/Users/daniel/.rvm/gems/ruby-2.1.1/gems/capistrano-3.2.0/bin/cap:3:in `<top (required)>'
/Users/daniel/.rvm/gems/ruby-

Using: gem 'capistrano-chef' within my Gemfile.

Rails: 4.1
Ruby: 2.1

Works when using an empty hash for the options argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions