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

Fail when run without -t #7

Closed
biow0lf opened this issue May 5, 2017 · 1 comment
Closed

Fail when run without -t #7

biow0lf opened this issue May 5, 2017 · 1 comment
Assignees
Labels

Comments

@biow0lf
Copy link

biow0lf commented May 5, 2017

$ bundle show | grep mry
  * mry (0.48.1.1)
$ bundle exec mry
Usage: mry [options] [.rubocop.yml]
    -t, --target=TARGET_VERSION
$ bundle exec mry .rubocop.yml 
bundler: failed to load command: mry (/Users/biow0lf/.rbenv/versions/2.4.1/bin/mry)
NoMethodError: undefined method `>=' for nil:NilClass
  /Users/biow0lf/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mry-0.48.1.1/lib/mry/runner.rb:16:in `block in run'
  /Users/biow0lf/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mry-0.48.1.1/lib/mry/runner.rb:16:in `select'
  /Users/biow0lf/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mry-0.48.1.1/lib/mry/runner.rb:16:in `run'
  /Users/biow0lf/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mry-0.48.1.1/lib/mry/cli.rb:12:in `run'
  /Users/biow0lf/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mry-0.48.1.1/exe/mry:5:in `<top (required)>'
  /Users/biow0lf/.rbenv/versions/2.4.1/bin/mry:22:in `load'
  /Users/biow0lf/.rbenv/versions/2.4.1/bin/mry:22:in `<top (required)>'
$ bundle exec mry -t 0.48.1 .rubocop.yml 
$ 
@pocke
Copy link
Owner

pocke commented May 5, 2017

Thanks for your bug report!
I've fixed the bug in #8 , and released v0.48.1.2 .
https://github.com/pocke/mry/releases/tag/v0.48.1.2

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