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

Argument list error #1

Closed
mikepence opened this issue Jul 21, 2013 · 7 comments
Closed

Argument list error #1

mikepence opened this issue Jul 21, 2013 · 7 comments
Labels
Milestone

Comments

@mikepence
Copy link

/Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/lib/pessimize/dsl.rb:9:in instance_eval': wrong number of arguments (2 for 1) (ArgumentError) from (eval):62:inparse'
from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/lib/pessimize/dsl.rb:9:in instance_eval' from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/lib/pessimize/dsl.rb:9:inparse'
from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/lib/pessimize/pessimizer.rb:28:in collect_gems_and_versions' from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/lib/pessimize/pessimizer.rb:15:inrun'
from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/lib/pessimize/shell.rb:12:in run' from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/gems/pessimize-0.0.2/bin/pessimize:5:in<top (required)>'
from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/bin/pessimize:19:in load' from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/bin/pessimize:19:in

'
from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/bin/ruby_noexec_wrapper:14:in eval' from /Users/mikepence/.rvm/gems/ruby-1.9.3-p448@sg/bin/ruby_noexec_wrapper:14:in'

@joonty
Copy link
Owner

joonty commented Jul 22, 2013

Thanks for that, I'll try and reproduce this and get a fix out.

Is this a specific case of it not working, or have you not yet been able to get it to run successfully?

Thanks

@mikepence
Copy link
Author

My first time trying to run it, after hearing about on Ruby Rogues. Tried
it with both Ruby 1.9.3 and 2.0.0 and both failed at that point.

On Mon, Jul 22, 2013 at 5:43 AM, Jonathan Cairns
notifications@github.comwrote:

Thanks for that, I'll try and reproduce this and get a fix out.

Is this a specific case of it not working, or have you not yet been able
to get it to run successfully?

Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-21334011
.

@joonty
Copy link
Owner

joonty commented Jul 22, 2013

Ok, thanks. Incidentally, I didn't know that it had been mentioned on the rogues, so that was a nice surprise!

Are you able to paste your Gemfile? If so that would be very helpful. It looks like there's an issue on line 62, if you aren't able to paste all of it.

Thanks a lot.

@mikepence
Copy link
Author

That line says "group :test, :development do"

@mikepence
Copy link
Author

Chaning that line to "group [:test, :development] do" worked.

@joonty
Copy link
Owner

joonty commented Jul 22, 2013

Yes, that makes sense. I didn't actually know you could add multiple groups like that, so that's definitely a bug. I'll get a fix up for it when I can.

Thanks

@joonty joonty closed this as completed in 718a10c Jul 23, 2013
@joonty
Copy link
Owner

joonty commented Jul 23, 2013

Fixed in version 0.0.3, and released.

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