Skip to content

Commit b220284

Browse files
Changing installation instruction
"bundle exec rake install" not working. Instead of running rake install, first creating gem and then installing the same gem.
1 parent 0432fa3 commit b220284

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

build.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Building P4Ruby from Source
22

33

4+
Note: Make sure you have following packages installed on your system:
5+
a. build-essential
6+
b. libssl-dev
7+
48
1. Download the Perforce C++ API from the Perforce FTP site at
59
<ftp://ftp.perforce.com/perforce> . \
610
The API archive is located in release and platform-specific subdirectories and is named
@@ -30,10 +34,11 @@
3034
*bundle exec rake test*
3135

3236
Tests require the perforce server binary (p4d) present in the path.
33-
37+
3438
5. Install P4Ruby into your local gem cache:
3539

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

3843
## SSL support
3944

0 commit comments

Comments
 (0)