我正在尝试按照此处的说明安装Discourse,但命令
# Use installed ruby as default
rvm use 2.0.0 --default
Run Code Online (Sandbox Code Playgroud)
结果如下:
discourse@ubuntu:~$ rvm use 2.0.0 --default
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
Run Code Online (Sandbox Code Playgroud)
我明白那个
For RVM to work properly, you have to set the 'Run command as …
Run Code Online (Sandbox Code Playgroud) 尝试在win10上安装gpg2。遵循此线程的底部答案;如何在 cygwin 上安装 gpg?目前它不见了
但是在尝试软链接它们时遇到了问题;
检查新下载时我有“正确”的版本;
$ /c/Program\ Files\ \(x86\)/GnuPG/bin/gpg.exe --version
gpg (GnuPG) 2.1.21
libgcrypt 1.7.6
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: C:/Users/xxxxxxxxx/AppData/Roaming/gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, …
Run Code Online (Sandbox Code Playgroud) 我正在学习如何使用 rvm 使用不同版本的 rails 设置不同版本的 ruby。这是说明http://beginrescueend.com/gemsets/basics/的链接。它说
例如,假设您正在使用 ruby 1.9.2-head 测试 gem 的两个版本。您可以将一个安装到默认的 1.9.2-head,然后为另一个版本创建一个命名的 gemset,并轻松地在它们之间切换。示例:测试宝石
Run Code Online (Sandbox Code Playgroud)$ rvm 1.9.2-head@testing will use a '1.9.2-head@testing' GEM_HOME (be sure to create it
首先),而:
我已经创建了
rvm install 1.8.7-head
rvm install 1.9.2
Run Code Online (Sandbox Code Playgroud)
但是我如何创建这个 rvm 1.9.2-head@testing。
关于说明,我有一些不明白的地方……如果可以,请澄清。
干杯
将我的 Macbook 迁移到新 Macbook 后,我在重新安装时遇到错误 rvm
?> rvm install 2.3.3
Run Code Online (Sandbox Code Playgroud)
1.29.3
(master) by Michal Papis, Piotr Kuczynski2.5.0p0
2.5.0
2.3.3
通过rvm
完美安装ruby 。
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.13/x86_64/ruby-2.3.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl/cert.pem' is already up to date.
Requirements installation …
Run Code Online (Sandbox Code Playgroud) 什么rm -rf $HOME/.rvm*
意思?
我偶然在 Ubuntu 终端的 VPS 服务器上运行了它,现在我的 ruby 应用程序遇到了各种各样的问题。我怎样才能撤消它?或者我需要做什么才能回到我做之前的样子?