Carlo E. Prelz wrote in post #1133313:
> Subject: How to add path in the head of original ENV['path']
>   Date: gio 16 gen 14 07:13:00 +0100
>
> Quoting Previn Lin (lists / ruby-forum.com):
>
>> If I want the new path added in the head of original ENV['path'](i.e.
>> /path_new:/path_old), is there quick way simlilar as "+="?
>
> ENV['PATH'].prepend('/path_new:')
>
> ENV['PATH'] is a string, which can be manipulated like any other
> string.
>
> Carlo

This is just I want, thank you.

-- 
Posted via http://www.ruby-forum.com/.