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