Skip to content

Instantly share code, notes, and snippets.

@ChasManRors
Last active February 15, 2017 19:41
Show Gist options
  • Save ChasManRors/ba7135003b934f750d6a7b0bac0d3ac9 to your computer and use it in GitHub Desktop.
Save ChasManRors/ba7135003b934f750d6a7b0bac0d3ac9 to your computer and use it in GitHub Desktop.
vmm (development)$ gem install rubocop
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
vmm (development)$ gem list rubocop
*** LOCAL GEMS ***
rubocop (0.43.0, 0.40.0, 0.39.0)
vmm (development)$ rubocop _0.40.0_ --format emacs /Users/cmagid/projects/vmm/spec/models/location_feed_spec.rb
/Users/cmagid/.rvm/gems/ruby-2.1.5@rbm-rvm-r15/bin/rubocop:22:in `<main>': undefined method `activate_bin_path' for Gem:Module (NoMethodError)
from /Users/cmagid/.rvm/gems/ruby-2.1.5@rbm-rvm-r15/bin/ruby_executable_hooks:15:in `eval'
from /Users/cmagid/.rvm/gems/ruby-2.1.5@rbm-rvm-r15/bin/ruby_executable_hooks:15:in `<main>'
vmm (development)$
vmm (development)$ rubocop _0.39.0_ --format emacs /Users/cmagid/projects/vmm/spec/models/location_feed_spec.rb
/Users/cmagid/.rvm/gems/ruby-2.1.5@rbm-rvm-r15/bin/rubocop:22:in `<main>': undefined method `activate_bin_path' for Gem:Module (NoMethodError)
from /Users/cmagid/.rvm/gems/ruby-2.1.5@rbm-rvm-r15/bin/ruby_executable_hooks:15:in `eval'
from /Users/cmagid/.rvm/gems/ruby-2.1.5@rbm-rvm-r15/bin/ruby_executable_hooks:15:in `<main>'
vmm (development)$
vmm (development)$ gem install rubocop
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment