Groovy和Go gvm的共存

huangapple go评论78阅读模式
英文:

Coexistence of Groovy- and Go gvm

问题

我已经安装了Groovy GVM。尝试安装Golang版本时出现以下错误:

ERROR: Already installed!

问题是~/.gvm已经存在。

如何使它们同时存在?目前有没有解决这个冲突的计划?

英文:

I have Groovy GVM installed. Trying to install the Golang version gave

ERROR: Already installed!

The problem is that ~/.gvm already exists.

How do/should you make them both coexist today?

Are there any plans to resolve this conflict?

答案1

得分: 2

问题82问题103似乎表明没有立即解决该冲突的计划。

您可以在以下位置找到该文件夹的追踪信息:

  • binscripts/gvm-installer

      [ "$GVM_DEST" = "$HOME" ] && GVM_NAME=".gvm"
    
  • bin/gvm

      [[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
    

您需要修补所有Go GVM程序,以确保不使用.gvm

更新于2016年3月:如问题82中所提到的:

> GVM已被http://sdkman.io/取代。gvm命令变为sdk

英文:

Issue 82 and issue 103 seem to show there is no immediate plan to resolve that collision.

You find trace of that folder in:

  • binscripts/gvm-installer:

      [ "$GVM_DEST" = "$HOME" ] && GVM_NAME=".gvm"
    
  • bin/gvm

      [[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
    

You would need to patch the all Go GVM program to make sure .gvm isn't used.

Update March 2016: as mentioned in issue 82:

> GVM is superseded by http://sdkman.io/. gvm command became sdk.

huangapple
  • 本文由 发表于 2014年10月12日 20:10:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/26324961.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定