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

Undefined method size for nil:NilClass (NoMethodError) #8

Open
schas002 opened this issue Jul 8, 2014 · 0 comments
Open

Undefined method size for nil:NilClass (NoMethodError) #8

schas002 opened this issue Jul 8, 2014 · 0 comments

Comments

@schas002
Copy link

schas002 commented Jul 8, 2014

Does not work on Ruby 1.9.3-p545 on my machine with Windows XP Home Edition and MinGW running, the trace route is:

$ ruby_chopped -n test
Creating test basket...
d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:85:in `block in pick_gems': undefined method `size' for nil:NilClass (NoMethodError)
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:84:in `times'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:84:in `each'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:84:in `collect'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:84:in `pick_gems'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:80:in `random_gems'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:49:in `gemfile_array'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:75:in `gemfile_string'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:33:in `block in create'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:32:in `open'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/lib/ruby_chopped.rb:32:in `create'
        from d:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_chopped-0.0.6/bin/ruby_chopped:44:in `<top (required)>'
        from d:/Ruby193/bin/ruby_chopped:23:in `load'
        from d:/Ruby193/bin/ruby_chopped:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant