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!
Installation via Package Control is recommended.
- Open your
Gemfile
and, on a new line, type the name of the gem you want to add - Hit
Cmd+Shift+P
to bring up the command palette, and start typingGemma
until the Gemma command is highlighted, then hit enter to run it - 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.
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!