Fix variable scope
Merge pull request #80 from tomaszdurka/issue-80

install-gems.sh: Variable access via 'version' is deprecated.