Gem Browser
Gem browser for Sublime Text
Details
Installs
- Total 6K
- Win 2K
- Mac 3K
- Linux 1K
Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 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 | 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 | 1 | 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 | 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
Sublime Gem Browser 0.3-alpha
For Ruby projects using the Bundler gem.
This plugin allows you to quickly access the code of a gem that you have installed via Bundler in the current project. When you select a gem, a new Sublime Text 2 window will open with the code ready for inspection.
Tested on OSX with RVM, Xubuntu with rbenv and Windows with RubyInstaller
How to Use
- In ST2, press “cmd + shift + p” and type “list gem” (or ctrl + shift + p if you're on Windows or Linux)
- Once you see “Gem Browser: List Gems”, press enter.
- It will list all the gems that have been installed via bundle for the project folder
- Once you choose a gem of the list, this plugin will open the source of the gem in a new window with the code ready for inspection and EVEN modification in real time (useful for debugging).
Installation
Package Control
Using Package Control, a package manager for Sublime Text 2.
In ST2, press “cmd + shift + p” and then type “install”.
Once you see “Package Control: Install Package”, press enter.
When the packages load, another selection window will appear.
Type “gem browser” and enter. All done!
Manual Installation
cd "~/Library/Application Support/Sublime Text 2/Packages/"
git clone https://github.com/NaN1488/sublime-gem-browser.git
Sublime Text 3 (Mac OS X only)
cd "/Applications/Sublime Text.app/Contents/MacOS/Packages"
curl https://github.com/NaN1488/sublime-gem-browser/archive/master.zip -o sublime-gem-browser.sublime-package
zip -j -r sublime-gem-browser.sublime-package sublime-gem-browser/*
rm -rf sublime-gem-browser
Known issues / limitations
- Experimental support for Sublime Text 3 (Only in OS X with RVM)
License
- MIT License
2012 - Created by Nahuel Sciaratta and Bruno Bonamin