Fixing 'PATH' in Environment Variables in Windows 7 for multiple applications
Separate the paths to Ruby and Java with your system's path separator character.
In case of Windows 7, it's
;
You'll be able to use both
Here's an example of Path variable with numerous applications.
C:\Program Files\TortoiseHg\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\