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

gas add do not work #14

Open
beeksiwaais opened this issue May 20, 2014 · 2 comments
Open

gas add do not work #14

beeksiwaais opened this issue May 20, 2014 · 2 comments
Labels

Comments

@beeksiwaais
Copy link

I get "Usage: gas add NICKNAME NAME EMAIL" when I use your example in the doc. For information, I use ruby 2.1.1p76 (rbenv).

Any idea ?

Thanks

@walle
Copy link
Owner

walle commented May 20, 2014

The error is from https://github.com/walle/gas/blob/master/bin/gas-add#L6

One thing that might be easy to miss is that the name should be quoted eg. "Fredrik Wallgren", if it has a space, to count as one parameter.

Otherwise there might be a change in ruby, last version I added something with was probably 1.9.3.

I'll try it out with 2.1.1

@walle
Copy link
Owner

walle commented May 21, 2014

Yes, this seems to be a bug in gas.

For now, you can use the command $ gas-add instead of $ gas add to add a user.

I don't know when I'll have the time to check out this bug. But my guess is that I have forgot to recount the parameters when the splitted form "gas add" is used. Probably a easy fix. You are very welcome to submit a patch if you have the time to fix it.

@walle walle added the Bug label May 21, 2014
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

2 participants