Skip to content

Commit c744b7b

Browse files
authored
Add Global Gems to Path (#1284)
## Summary Fixes an issue where global gems (like rails) were not included in PATH ## How was it tested? Using the Rails example: ``` devbox shell which rails (should show the rails in `virtenv`) ```
1 parent dd41255 commit c744b7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/ruby.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "ruby",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"match": "^ruby([0-9_]*[0-9]+)?$",
55
"env": {
6+
"PATH": "{{ .Virtenv }}/bin/:$PATH",
67
"RUBY_CONFDIR": "{{ .Virtenv }}",
78
"GEMRC": "{{ .Virtenv }}/.gemrc",
89
"GEM_HOME": "{{ .Virtenv }}"

0 commit comments

Comments
 (0)