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
Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28
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
Mac 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

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. ;-)