File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ We recently switched from the base branch of `develop` to the base of `master`.
2020 - [ ` BUILD.bazel ` file(s)] ( #buildbazel-files )
2121 - [ Define Ruby Executable, Library and an RSpec] ( #define-ruby-executable-library-and-an-rspec )
2222 - [ Package Ruby files as a Gem] ( #package-ruby-files-as-a-gem )
23+ - [ Tool Specific Setup] ( #tool-specific-setup )
24+ - [ ASDF] ( #asdf )
2325 - [ Rule Dependency Diagram] ( #rule-dependency-diagram )
2426- [ Rules] ( #rules )
2527 - [ ` ruby_library ` ] ( #ruby_library )
@@ -226,6 +228,18 @@ ruby_gem(
226228
227229```
228230
231+ # ## Tool Specific Setup
232+
233+ # ### ASDF
234+
235+ If you are using ASDF to manage your ruby installs, you can use them by adding `.bazelrc` :
236+
237+ ```
238+ build -- test_env = ASDF_DIR -- test_env = ASDF_DATA_DIR
239+ build -- action_env = ASDF_DIR -- test_env = ASDF_DATA_DIR
240+ ```
241+ You will have to be sure to export the `ASDF_DATA_DIR ` in your profile since it' s not set by default. e.g. `export ASDF_DATA_DIR="$HOME/.asdf"`
242+
229243# ## Rule Dependency Diagram
230244
231245> NOTE : this diagram is slightly outdated.
You can’t perform that action at this time.
0 commit comments