Merge pull request #232 from iven/gem

This commit is contained in:
Bruno Pinto 2014-10-24 13:01:19 -02:00
commit bc8c35233a
3 changed files with 23 additions and 2 deletions

View File

@ -10,6 +10,7 @@
* __emoji-clock__ - The current time with half hour accuracy as an emoji symbol
* __extract__ - Plugin to expand or extract bundled & compressed files
* __fry__ - starts [fry](https://github.com/terlar/fry) Simple ruby version manager for fish
* __gem__ Ruby gem integration
* __gi__ - [gitignore.io](http://gitignore.io) cli for fish
* __jump__ - A port of [Jeroen Janssens' "jump" utility](http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html)
* __localhost__ - Opens http://localhost:3000 (and other ports) in the default browser

16
plugins/gem/README.md Normal file
View File

@ -0,0 +1,16 @@
# gem
Ruby gem support for fish.
## Install
Add `gem` to your list of fish plugins in your `config.fish`.
Example:
set fish_plugins gem bundler
## Configuration
Set `GEM_ROOT` in your `config.fish`.
Example:
set GEM_ROOT ~/.gem/ruby/2.1.0

4
plugins/gem/gem.load Normal file
View File

@ -0,0 +1,4 @@
if test -n "$GEM_ROOT"
set -gx GEM_HOME $GEM_ROOT
_append_path $GEM_ROOT/bin
end