Skip to content

Instantly share code, notes, and snippets.

@renier
Created June 3, 2014 01:52
Show Gist options
  • Save renier/9d23ead9a36ba2939d18 to your computer and use it in GitHub Desktop.
Save renier/9d23ead9a36ba2939d18 to your computer and use it in GitHub Desktop.
Rubocop NameError
irb(main):001:0> require 'rubocop'
=> true
irb(main):002:0> Rubocop
NameError: uninitialized constant Rubocop
@renier
Copy link
Author

renier commented Jun 3, 2014

Answer is because Rubocop changed name to RuboCop (camel case) in version 0.23.0.

@gregory
Copy link

gregory commented Jun 18, 2014

thx ;)

@fcsonline
Copy link

🤦

@phoebehugh
Copy link

Thank you!

@joegiralt
Copy link

Thanks, I was ripping my hair out

@tejaswinic-webonise
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment