Installation

Requirements

  • Standalone Ruby 2.6+ installation on the system. This is not intended to be used inside of SketchUp. Mac users should have Ruby already on the system, but might find it beneficial to use RVM. Windows users need to install Ruby from https://rubyinstaller.org/.

  • The RuboCop gem must also be installed.

    sh gem install rubocop

Install

Install the rubocop-sketchup gem:

gem install rubocop-sketchup

Bundler

If you use bundler to manage you're project's dependencies put this in your Gemfile:

gem 'rubocop', '>= 0.82', '< 2.0'
gem 'rubocop-sketchup', '~> 1.4.0'