Skip to content

Commit

Permalink
Changing installation instruction
Browse files Browse the repository at this point in the history
"bundle exec rake install" not working. 
Instead of running rake install, first creating gem and then installing the same gem.
  • Loading branch information
hjain-perforce authored May 24, 2023
1 parent 0432fa3 commit b220284
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Building P4Ruby from Source


Note: Make sure you have following packages installed on your system:
a. build-essential
b. libssl-dev

1. Download the Perforce C++ API from the Perforce FTP site at
<ftp://ftp.perforce.com/perforce> . \
The API archive is located in release and platform-specific subdirectories and is named
Expand Down Expand Up @@ -30,10 +34,11 @@
*bundle exec rake test*

Tests require the perforce server binary (p4d) present in the path.

5. Install P4Ruby into your local gem cache:

*bundle exec rake install*
*bundle exec rake gem*\
*gem install pkg/p4ruby\*.gem -- --with-p4api_dir=<absolute path to Perforce C++ API>*

## SSL support

Expand Down

0 comments on commit b220284

Please sign in to comment.