Skip to content

Commit bb4def5

Browse files
authored
Update and rename CINC_WORKSTATION_SETUP.md to SETUP_CINC_WORKSTATION.md
1 parent f6ba227 commit bb4def5

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,45 @@ Verify the installation:
1515
cinc --version
1616
```
1717

18+
Should list the versions of all the Cinc-related tools:
19+
20+
```
21+
Cinc Workstation version: 25.2.1075
22+
Cookstyle version: 7.32.8
23+
Cinc Client version: 18.6.2
24+
Cinc Auditor version: 5.22.65
25+
Cinc CLI version: 5.6.16
26+
Biome version: 1.6.821
27+
Test Kitchen version: 3.6.0
28+
```
29+
30+
### Configure the Ruby environment (simple)
31+
32+
Configure the Ruby environment Cinc uses by adding the following
33+
commands to the configuration file for bash (`~/.bashrc`):
34+
35+
```
36+
# Add the Cinc Workstation initialization content
37+
echo 'eval "$(cinc shell-init bash)"' >> ~/.bashrc
38+
```
39+
40+
Reload the config in the current shell with `source ~/.bashrc` or
41+
restart the current terminal.
42+
43+
Verify that the Ruby interpreter being used is the cin-workstation
44+
ruby instead of the system ruby:
45+
46+
```
47+
% which ruby
48+
/opt/cinc-workstation/embedded/bin/ruby
49+
```
50+
51+
### Configure the Ruby environment (advanced)
52+
53+
```
54+
mkdir -m 0755 ~/.bashrc.d
55+
```
56+
1857
```
1958
# User specific aliases and functions
2059
if [[ -d ~/.bashrc.d ]]; then
@@ -28,6 +67,14 @@ fi
2867
unset rc
2968
```
3069

70+
```
71+
cat <<'EOF' > ~/.bashrc.d/100.cinc-workstation.sh
72+
#!/bin/bash
73+
74+
eval "$(cinc shell-init bash)"
75+
EOF
76+
```
77+
3178
## macOS Install
3279

3380
Download the latest version of the Cinc Workstation package from

0 commit comments

Comments
 (0)