打开终端时未使用RVM默认ruby

时间:2015-10-13 09:25:22

标签: ruby rvm gnome-terminal

此问题似乎与Default Ruby not loading with RVM有关,但答案对我没有帮助。

在我的Ubuntu 14 LTS上,我在rvm中安装了2个红宝石,默认使用Unhandled Exception: Microsoft.SharePoint.Client.ServerException: List 'Shared1' does not exist at site with URL 'https://myEnv.sharepoint.com'. at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream res ponseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at SharepointFolderRename.Program.CreateFolderInternal(Web web, Folder parent Folder, String fullFolderUrl) in \\vmware-host\shared folders\Documents\Visual S tudio 2012\Projects\Trunk2015\SharepointFolderRename\Program.cs:line 84 at SharepointFolderRename.Program.Main(String[] args) in \\vmware-host\shared folders\Documents\Visual Studio 2012\Projects\Trunk2015\SharepointFolderRename\ Program.cs:line 49 设置2.2-head。重新打开终端后(已配置登录shell)2.2未设置为当前

rvm use 2.2-head --default

我无法在当前($ HOME)文件夹(或其父级)中找到任何$ rvm list rvm rubies => ruby-2.1.5 [ x86_64 ] * ruby-2.2-head [ x86_64 ] # => - current # =* - current && default # * - default .ruby-version。 同时我尝试删除 system ruby​​(1.9.3),但这也没有效果 我错过了什么?

2 个答案:

答案 0 :(得分:0)

您是否按照https://rvm.io/rubies/default上的说明进行操作?

答案 1 :(得分:0)

问题可以通过重启系统来解决,虽然我不知道为什么会这样做