rvm

Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError)

你离开我真会死。 提交于 2019-11-27 12:17:33
I just discovered I can no longer gem push … any more and some digging led me to a need to update my RVM SSL certs. I ran rvm osx-ssl-certs status all but that gave me: /Users/davesag/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': dlopen(/Users/davesag/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle, 9): Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError) Referenced from: /Users/davesag/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-darwin12.4.0/openssl.bundle Reason: image not found -

RVM is not working over SSH

╄→гoц情女王★ 提交于 2019-11-27 12:14:28
问题 RVM is not working over SSH. At the command-line: leifg@host:~$ which ruby /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby Connected over SSH: local:~$ ssh leifg@server 'which ruby' /usr/bin/ruby I'm using Ubuntu 11.04. How do I get SSH to use the same Ruby as it is on the system? I already verified some prequisites: Ruby was already installed using apt-get install ruby . Does that make any difference? sshd_config has the option "PermitUserEnvironment yes", and I restarted the daemon. The

Need to set up rvm environment prior to every cron job

微笑、不失礼 提交于 2019-11-27 11:48:51
问题 I installed and configured RVM roughly following the pattern outlined in the first part of this set of instructions: http://blog.ninjahideout.com/posts/a-guide-to-a-nginx-passenger-and-rvm-server Basically, this means there is no pre-build system ruby (all ruby installs are RVM-managed) and RVM is installed system-wide instead of attached to a particular user (files at /usr/local/rvm ) so all users in the rvm group can access the same rubies with the same installed gems. One issue with

How do I install Bash >= 3.2.25 on Mac OS X 10.5.8?

谁说胖子不能爱 提交于 2019-11-27 11:48:06
问题 I'm following Michael Hartl's Rails tutorial, so far I've installed Git 1.7.5.4 x86_64 (I'm running OSX 10.5.8) and I'm trying to install rvm After I run the following: $ curl -kL get.rvm.io | bash -s stable I get: BASH 3.2.25 required (you have 3.2.17(1)-release) I've tried changing the shell, using chsh -s /opt/local/bin/bash but I get shell '/opt/local/bin/bash' does not exist Not sure where to go from here but I'd appreciate any guidance. Thanks! 回答1: Homebrew is generally a bit nicer

Why doesn't “RVM --default” work for me on MacOSX?

北城余情 提交于 2019-11-27 11:47:59
After using Ruby and Rails for quite some time now, i wanted to try RVM. Everything works fine, except for one thing: In a freshly opened Terminal ruby points to the system's ruby, despite the fact, that I used the rvm --default command. user@terra ~ $ ruby -v ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10] user@terra ~ $ which ruby /opt/local/bin/ruby user@terra ~ $ rvm list ruby-1.8.7-p334 [ ] => ruby-1.9.2-p180 [ ] Everything is fine after I call rvm reload user@terra ~ $ rvm reload user@terra ~ $ ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.1] tmangner@terra

troubles with RVM and OpenSSL

﹥>﹥吖頭↗ 提交于 2019-11-27 11:40:50
问题 Trying to set up a new macbook for a colleague. Not going well. First I install OpenSSL: Heathers-MacBook-Pro:~ heather$ rvm pkg install openssl Fetching openssl-1.0.1c.tar.gz to /Users/heather/.rvm/archives ######################################################################## 100.0% Extracting openssl to /Users/heather/.rvm/src/openssl-1.0.1c Configuring openssl in /Users/heather/.rvm/src/openssl-1.0.1c. Compiling openssl in /Users/heather/.rvm/src/openssl-1.0.1c. Installing openssl to

Ruby on Rails RVM $PATH issue

∥☆過路亽.° 提交于 2019-11-27 11:40:38
问题 Used https://rvm.beginrescueend.com/rvm/install/ to install ruby (ruby 1.9.2p290) & gems (no problems), then installed rails via gem install rails (Rails 3.2.0). But when I try and create a rails app (or issue rails -v ) in another directory other than my /user directory I get "The program 'rails' is currently not installed. You can install it by typing: sudo apt-get install rails" I also noticed that if I issue ruby -v I get "The program 'ruby' is currently not installed. You can install it

How to change rvm install location?

两盒软妹~` 提交于 2019-11-27 11:36:58
问题 Currently I have rvm installed under /home/john/.rvm How do move rvm to the location /opt/local/rvm ? I tried to use the rvmrc file to take care of this (according to the rvm document here: https://rvm.io/workflow/rvmrc/ ) but no luck, I found a rvmrc file under /etc/ Is there any step by step instruction I could follow? 回答1: Figure out myself by doing some research online, hope this can help someone out: Suppose you want to move from home/username/.rvm to /opt/local/rvm Update you .bash

Could not find rails (>= 0) amongst [] (Gem::LoadError)

这一生的挚爱 提交于 2019-11-27 11:18:37
After installing rvm, updating .gmrc file, updating rubygems and running gem install rails -v ">=3.1.0rc" , I now seem to have a complete mess: $ rails -v /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [] (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec' from /usr/local/lib/site_ruby/1.8/rubygems.rb:1182:in `gem' from /var/lib/gems/1.8/bin/rails:18 myhome@myhome-mini:~$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.6.2 - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i686-linux] -

Is RVM production ready?

与世无争的帅哥 提交于 2019-11-27 10:20:45
问题 RVM is great for developing on your local machine. But is it safe on a production machine? 回答1: I built RVM for production and added the developer 'niceties' later on. If you would like more information read the documentation on the website and come talk to me in #rvm on irc.freenode.net sometime during the day EDT most days. 回答2: Since RVM is just a fancy way of downloading, isolating and switching between existing Ruby implementations, I'd say that it's as production ready as whatever ruby