rvm / gem-wrappers

Create gem wrappers for easy use of gems in cron and other system locations.
Other
14 stars 4 forks source link

Warning while running rubygems tests #6

Closed rohitarondekar closed 9 years ago

rohitarondekar commented 9 years ago

Hey, the following warning is thrown from within this gem:

/home/rohit/.rvm/gems/ruby-2.1.4@global/gems/gem-wrappers-1.2.7/lib/gem-wrappers/environment.rb:20: warning: instance variable @path_take not initialized

Not sure how to fix this since there is no existing initialize method for the Environment class. Should I add one?

mpapis commented 9 years ago

try:

- return @path_take if @path_take
+ return @path_take unless @path_take.nil?