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

Crashes for multiple project targets #150

Closed
mogol opened this issue Sep 6, 2016 · 1 comment
Closed

Crashes for multiple project targets #150

mogol opened this issue Sep 6, 2016 · 1 comment
Labels

Comments

@mogol
Copy link
Contributor

mogol commented Sep 6, 2016

Hey,

There are two targets in project. So, I have in Rambafile

# The main project target name
project_targets: Dev.Target,AppStore

When do

generamba gen MyAwesomeList template_name

I got

/Users/gsaprykin/.rvm/gems/ruby-head/gems/generamba-1.2.0/lib/generamba/helpers/gen_command_table_parameters_formatter.rb:10:in `prepare_parameters_for_displaying': undefined method `join' for "Dev.Target,AppStore":String (NoMethodError)
    from /Users/gsaprykin/.rvm/gems/ruby-head/gems/generamba-1.2.0/lib/generamba/cli/gen_command.rb:50:in `gen'
    from /Users/gsaprykin/.rvm/gems/ruby-head/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/gsaprykin/.rvm/gems/ruby-head/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/gsaprykin/.rvm/gems/ruby-head/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Users/gsaprykin/.rvm/gems/ruby-head/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/gsaprykin/.rvm/gems/ruby-head/gems/generamba-1.2.0/bin/generamba:5:in `<top (required)>'
    from /Users/gsaprykin/.rvm/gems/ruby-head/bin/generamba:22:in `load'
    from /Users/gsaprykin/.rvm/gems/ruby-head/bin/generamba:22:in `<main>'
    from /Users/gsaprykin/.rvm/gems/ruby-head/bin/ruby_executable_hooks:15:in `eval'
    from /Users/gsaprykin/.rvm/gems/ruby-head/bin/ruby_executable_hooks:15:in `<main>'
@mogol mogol added the bug label Sep 6, 2016
@mogol
Copy link
Contributor Author

mogol commented Sep 6, 2016

There is a bug in docs. Should be

# The main project target name
project_targets: [Dev.Target,AppStore]

@mogol mogol closed this as completed Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant