rvm

OpenSSL, RVM, Brew, conflicting error

十年热恋 提交于 2019-12-31 08:30:10
问题 When I run brew doctor in Terminal: I get the following error: Warning: Some keg-only formula are linked into the Cellar. You may wish to `brew unlink` these brews: openssl If I unlink it, and I type rvm requirements : I will get the following Error. Checking requirements for osx. dyld: Library not loaded: @@HOMEBREW_CELLAR@@/openssl/1.0.1f/lib/libssl.1.0.0.dylib Referenced from: /usr/local/opt/openssl/bin/openssl Reason: image not found Failed reading certificates path for '/usr/local/opt

Deleting versions of ruby

倖福魔咒の 提交于 2019-12-31 05:31:25
问题 Trying to get a gem working so, following a SO suggestion, I deleted older versions of ruby I had as follows: $ which -a ruby /Users/snowcrash/.rvm/rubies/ruby-1.9.2-p318/bin/ruby /Users/snowcrash/.rvm/bin/ruby $ rm /Users/snowcrash/.rvm/bin/ruby However, a couple of hours later I tried which -a ruby again and this file had returned: /Users/snowcrash/.rvm/bin/ruby Any suggestions how that happened? Running Mac OS X 10.8.2. 回答1: I think you only deleted either a stub or a symbolic link. It

Cannot install Ruby 1.9.3 on a clean Lion Install

大憨熊 提交于 2019-12-31 04:58:11
问题 Trying to install 1.9.3 using RVM. Getting these errors in my make.log compiling readline.c readline.c:1499:9: error: use of undeclared identifier 'username_completion_function'; did you mean 'rl_username_completion_function'? rl_username_completion_function); ^ readline.c:69:42: note: expanded from macro 'rl_username_completion_function' # define rl_username_completion_function username_completion_function ^ /usr/local/include/readline/readline.h:443:14: note: 'rl_username_completion

Ruby 1.9.2 keeps reverting back to 1.8.7 after installing it using RVM

房东的猫 提交于 2019-12-30 11:16:11
问题 I installed Ruby 1.9.2. I used rvm use 1.9.2 and then when I type ruby -v it says 1.9.2. Then when I quit terminal and reopen it, it says 1.8.7 again. What am I doing wrong? 回答1: Your default ruby is most likely not set to ruby 1.9.2. Try: rvm --default use 1.9.2 Also if you want to see all ruby versions installed, you can run 'rvm list'. The default ruby is prefixed with a => symbol, as shown below. $ rvm list rvm rubies ruby-1.9.1-p243 [ x86_64 ] => ruby-1.9.2-p136 [ x86_64 ] ruby-1.9.2

Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

只愿长相守 提交于 2019-12-29 18:17:52
问题 I have been trying to install RVM and Ruby 2.1.1 onto my new Mac (OS 10.9.2), and everything seems to be going well until I try to install any version of Ruby. My input $ rvm reinstall 2.1 So far so good... ruby-2.1.1 - #removing rubies/ruby-2.1.1.. Searching for binary rubies, this might take some time. Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.1.tar.bz2 Checking requirements for osx. Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.

Update RVM list known

二次信任 提交于 2019-12-29 07:22:08
问题 Is it possible to update the list of known rubies (what you get with rvm list known ) without upgrading the entirety of rvm? 回答1: No it is not, some of the version changes require changes in code, you should be good with sticking to stable to keep more stability (if that is your concern): rvm get stable you should be good with sticking to master (as it's stable) to get latest versions: rvm get master 回答2: mpapis answer and opinion is 100% correct. The settings I had in my laptop is below. Add

Error while installing ruby using rvm

拥有回忆 提交于 2019-12-29 03:28:07
问题 Am getting the below error while trying to install ruby using rvm: $rvm install 1.9.3 Searching for binary rubies, this might take some time. Checking requirements for ubuntu. Installing requirements for ubuntu. Updating system.................................................................................................. Error running 'requirements_debian_update_system ruby-1.9.3-p448', please read /home/troy/.rvm/log/1379872584_ruby-1.9.3-p448/update_system.log Requirements installation

RVM is not a function, selecting rubies with 'rvm use …' will not work

那年仲夏 提交于 2019-12-29 02:22:29
问题 List the ruby versions console:~$ rvm list rvm rubies ruby-2.0.0-p481 [ i686 ] # => - current # =* - current && default # * - default Try to use a specific version of ruby console:~$ rvm use 2.0.0 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. 回答1: Your

Rubygems, Bundler and RVM confusion

人走茶凉 提交于 2019-12-29 02:21:21
问题 I read "Relationships between Rubygems, Bundler, and RVM" before asking it again. Well, there are many questions like this, but people who answered say they work with Rubygems, RVM and Bundler, and they have not explained how each of these work in isolation. I am really confused with how the three work in isolation when we are installing gems. Please do not tell me how you work, which will help me, but I won't learn what is happening when we play with them. My confusion can be broken down

Which Ruby version am I really running?

泄露秘密 提交于 2019-12-28 16:30:55
问题 I'm running Ubuntu 12.04 LTS, and installed Ruby via RVM. The problem is, when I type ruby -v into the terminal, it says that my Ruby version is 1.8.7 , and using the shotgun gem for Sinatra also says that I'm running Ruby 1.8.7 . But when I type rvm list it shows that the only version of Ruby that I have installed is 2.0.0 and it is my current and default version. I installed Ruby 2.0.0 via RVM and it is the only version I had installed on my machine. Now when I tried to install Rails 4 but