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 334
  • Win 149
  • Mac 114
  • Linux 71
May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
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 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!