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

aruba can not find file in bin/ directory #379

Closed
bdrust opened this issue Apr 14, 2016 · 4 comments
Closed

aruba can not find file in bin/ directory #379

bdrust opened this issue Apr 14, 2016 · 4 comments
Labels

Comments

@bdrust
Copy link

bdrust commented Apr 14, 2016

I am trying to write some tests for a gem that deploys a simple CLI application but the following fails with the below error:

Scenario: Display -h output
    When I successfully run `test_cli -h`
    Then the output should contain "this is the -h output"

Scenario: Display -h output              # features/test_gem.feature:8
    When I successfully run `test_cli -h` # aruba-0.14.1/lib/aruba/cucumber/command.rb:27
      undefined local variable or method `cmd' for #<Aruba::Processes::SpawnProcess:0x00000002bce100> (NameError)

For some reason it can't find test_cli in the bin/ directory but if I use the full path then the test passes.

@maxmeyer
Copy link
Member

@bdrust Can you try master? This should be fixed by @e2 in #357.

@bdrust
Copy link
Author

bdrust commented Apr 20, 2016

That fixes the issue for me, thanks.

@duckinator
Copy link

Are their any plans to release a version that addresses this soon? I have to use master to get around it atm.

@ghost
Copy link

ghost commented Jul 29, 2016

The next milestone would be 1.0.0. Unfortunately I've not much time to work on aruba these days, but feel free to help out by working on those issues: https://github.com/cucumber/aruba/milestone/4 To make a release soon.

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

3 participants