ujihisa/spawn-for-legacy — pull request #5 by mrkn (2012-07-04 10:43:45+00:00)
Title: change the way to requiring sfl in gemspec to avoid warning

The current ```sfl.gemspec``` file requires ``sfl``` by specifying its full path.
Because of it, these warnings are displayed when ```sfl``` is required under bundler.

```
/Users/kenta-murata/.rvm/gems/ree-1.8.7-2012.01/bundler/gems/spawn-for-legacy-4a18d8e05072/lib/sfl.rb:2: warning: already initialized constant VERSION
/Users/kenta-murata/.rvm/gems/ree-1.8.7-2012.01/bundler/gems/spawn-for-legacy-4a18d8e05072/lib/sfl.rb:4: warning: already initialized constant SHELL_SPECIALS
/Users/kenta-murata/.rvm/gems/ree-1.8.7-2012.01/bundler/gems/spawn-for-legacy-4a18d8e05072/lib/sfl.rb:78: warning: already initialized constant REDIRECTION_MAPPING
```

To avoid these warnings, I fixed ```sfl.gemspec``` to add the path of ```lib``` dir of sfl into ```$LOAD_PATH``` before requiring ```sfl```.