jenv: jenv: no such command `enable-plugin'
Hello, I’m facing a weird issue on my mac. Whenever I try:
$> jenv enable-plugin maven 10:09 fbiville@VID01701
jenv: no such command `enable-plugin'
However,
$> jenv help enable-plugin 10:09 fbiville@VID01701
Usage: jenv enable-plugin <pluginName>
Activate a jEnv plugin
What’s going on?
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 17 (3 by maintainers)
In my case I use brew to install jenv, so I didn’t follow this sentence:
$ echo 'eval "$(jenv init -)"' >> ~/.bash_profileexecuting it, solve the problem.
check:
vi ~/.bash_profileorvi ~/.bashrcfile. See if there are multiple entries ofeval "$(jenv init -)"and get single entry for requested commands. executesource ~/.bash_profileIn my case this was happening.Can you give me the output of :
jenv doctorgave me the good diagnosis 😃 Now fixed 😃This resolved the problem for me
➜ ~
eval "$(jenv init -)" >> /Users/<your-user>/.zshrcHow were you able to fix it ?
I am unable to install the export plugin
After installing jenv via
brew install jenv, in the output ofjenv doctor, I could seeThe objective was to insert a line into
~/.bash_profileThis should instead beI expierenced the same issue when wrote in console “jenv doctor”, nothing helped until I used “eval “$(jenv init -)””. Spent like 8 hours on this.
I wish I remembered and wrote it out back then. Sorry!