lunks/fish-nuggets — pull request #3 by jdelStrother (2012-06-19 15:09:36+00:00)
Title: Include GEM_HOME when copying rvm environment variables

Hi - I had problems with my setup (OS X 10.7.4, rvm 1.14.2, fishfish beta r2, and ruby 1.9.3) when trying to get rvm & fish to play nicely together. GEM_PATH was getting set to the regular rvm values (`/Users/jon/.rvm/gems/ruby-1.9.3-p194:/Users/jon/.rvm/gems/ruby-1.9.3-p194@global`), but GEM_HOME was being left at `/Users/jon/.gem`. So any new gem installations ended up in the wrong directory, and weren't found in the gem path.

How about the attached patch? I confess I'm not quite sure what the sed command in the latter half of that line is doing, so it could maybe use some sanity checking before you pull it.