ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rubycritic

by pedrocarmona MacLinux ALL

Sublime plugin to make a rubycritic assessment of current file, and automatically open it in the browser

Details

Installs

  • Total 3K
  • Win 0
  • Mac 2K
  • Linux 1K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0
Linux 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

SublimeRubycritic

Installation

Before using this plugin, you must ensure that rubycritic is installed on your system. To install rubycritic, do the following:

  1. Install Ruby. Sugestion: rbenv.

  2. Install rubycritic by typing the following in a terminal:

[sudo] gem install rubycritic
  1. If you are using rbenv, ensure that they are loaded in your shell’s correct startup file.
rbenv rehash
  1. test in sublime console (View > show console)
import os
  os.system("rubycritic")
  1. If is result 0, then there is no need to do the next steps.

  2. If result is 32512, then sublime cannot find rubycritic. Please do these instructions in you command line:

which rubycritic
  1. copy the output and do this
ln -s [OUTPUT] /usr/local/bin/rubycritic
  # rbenv example: ln -s /Users/YOURUSERNAME/.rbenv/shims/rubycritic /usr/local/bin/rubycritic

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. Be patient. ;-)