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

Gemma

by parachute-io ST2/ST3

A Sublime Text 3 plugin for easily adding gems to your Gemfile.

Details

Installs

  • Total 178
  • Win 72
  • OS X 67
  • Linux 39
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 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
Windows 0 0 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 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0
OS X 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 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 1 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 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Gemma

A Sublime Text 3 plugin for easily adding gems to your Gemfile. (Might also work with Sublime Text 2, but no guarantees, alright?)

Tired of searching RubyGems and then copy-pasting the Gemfile entry to your project? Rejoice, for your days of misspelled gems lacking version constraints are over!

Demo GIF

Installation

Installation via Package Control is recommended.

Usage

  1. Open your Gemfile and, on a new line, type the name of the gem you want to add
  2. Hit Cmd+Shift+P to bring up the command palette, and start typing Gemma until the Gemma command is highlighted, then hit enter to run it
  3. Gemma will display all the RubyGems matches, along with their latest stable versions. Select the one you want and hit enter.

BOOM! You just went from jquery_rails to gem 'jquery-rails', '~> 4.1.0' in 3 seconds flat.

Contributing

This is literally the first and only thing I've ever written in Python. Please feel welcome to fork & open a Pull Request with any improvements!