mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add List The Files Being Loaded By Mise as a Mise TIL
This commit is contained in:
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
|
|||||||
|
|
||||||
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
|
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
|
||||||
|
|
||||||
_1605 TILs and counting..._
|
_1606 TILs and counting..._
|
||||||
|
|
||||||
See some of the other learning resources I work on:
|
See some of the other learning resources I work on:
|
||||||
- [Ruby Operator Lookup](https://www.visualmode.dev/ruby-operators)
|
- [Ruby Operator Lookup](https://www.visualmode.dev/ruby-operators)
|
||||||
@@ -54,6 +54,7 @@ If you've learned something here, support my efforts writing daily TILs by
|
|||||||
* [Linux](#linux)
|
* [Linux](#linux)
|
||||||
* [LLM](#llm)
|
* [LLM](#llm)
|
||||||
* [Mac](#mac)
|
* [Mac](#mac)
|
||||||
|
* [Mise](#mise)
|
||||||
* [MongoDB](#mongodb)
|
* [MongoDB](#mongodb)
|
||||||
* [MySQL](#mysql)
|
* [MySQL](#mysql)
|
||||||
* [Neovim](#neovim)
|
* [Neovim](#neovim)
|
||||||
@@ -686,6 +687,10 @@ If you've learned something here, support my efforts writing daily TILs by
|
|||||||
- [View All Windows Of The Current App](mac/view-all-windows-of-the-current-app.md)
|
- [View All Windows Of The Current App](mac/view-all-windows-of-the-current-app.md)
|
||||||
- [Write System Clipboard To A File](mac/write-system-clipboard-to-a-file.md)
|
- [Write System Clipboard To A File](mac/write-system-clipboard-to-a-file.md)
|
||||||
|
|
||||||
|
### Mise
|
||||||
|
|
||||||
|
- [List The Files Being Loaded By Mise](mise/list-the-files-being-loaded-by-mise.md)
|
||||||
|
|
||||||
### MongoDB
|
### MongoDB
|
||||||
|
|
||||||
- [Determine The Database Version](mongodb/determine-the-database-version.md)
|
- [Determine The Database Version](mongodb/determine-the-database-version.md)
|
||||||
|
|||||||
29
mise/list-the-files-being-loaded-by-mise.md
Normal file
29
mise/list-the-files-being-loaded-by-mise.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# List The Files Being Loaded By Mise
|
||||||
|
|
||||||
|
While running `mise` for the first time, after adding a `mise.toml` file to a
|
||||||
|
project, I noticed something strange. Instead of invoking the command I had
|
||||||
|
specified (`mise run dev`), several parellel tool downloads were kicked off. In
|
||||||
|
addition to Ruby, it was installing an older version of Postgres, and lua. What
|
||||||
|
gives?
|
||||||
|
|
||||||
|
By running `mise cfg`, I can list all the files being loaded by `mise` and get
|
||||||
|
to the bottom of this.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mise cfg
|
||||||
|
|
||||||
|
Path Tools
|
||||||
|
~/.tool-versions node, ruby, postgres, lua
|
||||||
|
~/code/still/.ruby-version ruby
|
||||||
|
~/code/still/Gemfile (none)
|
||||||
|
~/code/still/.tool-versions ruby
|
||||||
|
~/code/still/mise.toml (none)
|
||||||
|
```
|
||||||
|
|
||||||
|
I was only thinking about the files local to my project and I forgot that I
|
||||||
|
have a system-wide `.tool-versions` file. As we can see from the output, that
|
||||||
|
file specifies `postgres` and `lua` as well. Mise wanted to ensure that it had
|
||||||
|
downloaded the specified versions of each of those tools before running my
|
||||||
|
task.
|
||||||
|
|
||||||
|
[source](https://mise.jdx.dev/configuration.html)
|
||||||
Reference in New Issue
Block a user