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

Gemma

by parachute-io ALL

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

Details

Installs

  • Total 283
  • Win 125
  • Mac 98
  • Linux 60
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 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16
Windows 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 0 0 0 0 0 0 0 0 0
Mac 0 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 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Linux 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

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!