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 10 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_profile
executing it, solve the problem.
check:
vi ~/.bash_profile
orvi ~/.bashrc
file. See if there are multiple entries ofeval "$(jenv init -)"
and get single entry for requested commands. executesource ~/.bash_profile
In my case this was happening.Can you give me the output of :
This resolved the problem for me
➜ ~
eval "$(jenv init -)" >> /Users/<your-user>/.zshrc
jenv doctor
gave me the good diagnosis 😃 Now fixed 😃How 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_profile
This should instead be