I'm not using Sublime Text anymore and have no interest in supporting this project.
I added the MIT license to be explicit, so if you want to carry on, you have my full permission - and gratitude!
Easily navigate Rubygems used by your project.
If you often google for gems that you use, this is the plugin to break you out of this tedious routine.
-
In a Sublime Text window with a Bundler-enabled Ruby project or script:
-
Open the command palette (Cmd/Ctrl + Shift + P) and activate "Gem Links: List All Rubygems".
-
You will see a list of all gems loaded by the project's Gemfile.lock.
-
After choosing a gem you will see a menu of links:
- to the gem's homepage;
- to Rubygems, Rubydocs, and Omniref pages for that gem;
- to the gem's local folder (opens in a new Sublime Text window).
-
Choose any of the links to open it.
Take note: Gem Links only works when the Gemfile is valid and the gems are installed. In other words, if the project runs, the plugin should also work.
Install "Gem Links" from Sublime Text's Package Control.
If you use OS X and rbenv or RVM, chances are Sublime Text can't find the correct Ruby version by itself. Then you should install the Fix Mac Path plugin, which makes the $PATH from your shell available in Sublime Text. (This will also fix all kinds of build tools dependent on custom $PATH. )
(c) 2014 Leonid Shevtsov