Helix Core P4Ruby Developer Guide (2020.1)

Installing P4Ruby

As of version 2015.1, the recommended mechanism for installing P4Ruby is via gems.

Outside of Windows, the p4ruby gem installs must be compiled locally against your installation of Ruby. If you can build the core Ruby distribution locally, you likely can install P4Ruby without incident. On Windows, precompiled gems will be made available.

$ gem install p4ruby

The gem will attempt to download a correct version of the Helix C/C++ API from ftp.perforce.com.

Helix C/C++ API can be specified with the --with-p4api-dir option. The Helix C/C++ API should match the major and minor version of P4Ruby.

Download from: