The gem for the Ruby SDK is distributed through RubyGems.
To install, use gem install optimizely-sdk or bundler to install the gem optimizely-sdk.
The full source code is on GitHub.