Skip to content

Commit 5beb0ca

Browse files
author
Peter Wang
committed
Add tips for installing rubypython
Some puppet distros need to use the gem privided by puppet instead of the default gem by ruby.
1 parent d07d156 commit 5beb0ca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ Before proceeding, Ensure you have installed the required `Ruby` and `Puppet`.
5959
> On Ubuntu/Debian, make sure the `libffi-dev` is installed, since `ffi` (one of `rubypython`'s dependencies) is a native
6060
extension. To install it, use `sudo apt-get install libffi-dev`
6161

62-
And then install `rubypython`.
62+
> For some puppet distros, a build-in `ruby` interpreter and `gem` are shipped with puppet together, so make sure the right
63+
> `gem` is used to install ruby related dependencies. In this case, you can use following command to install `rubypython`:
64+
> ```bash
65+
> /opt/puppetlabs/puppet/bin/gem install rubypython
66+
> ```
67+
6368
```bash
6469
gem install rubypython
6570
```

0 commit comments

Comments
 (0)