rvm

gpg: keyserver receive failed: No route to host stack overflow

陌路散爱 提交于 2021-02-07 13:18:38
问题 i'm trying to install fastlane for my ios app but when i'm trying to install RVM, i'm facing issues. My command is gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答1: Please use hkp://ipv4.pool.sks-keyservers.net instead of hkp://keys.gnupg.net type this command gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561************* 回答2: TL;DR;

Upgraded to Ruby version 2.1.2, passenger still on 1.9.3

左心房为你撑大大i 提交于 2021-02-07 03:08:46
问题 How do I update the Ruby Version used by Passenger whenever I update Ruby and its Gemlist using RVM and Capistrano? What is the best way to check if my app is using the right ruby version and gemset? I have a Rails app running on a Linode server (Ubuntu), with NGinx and Passenger. Before it was running without any problem. Previously my app was running Ruby on Rails 3.2.16 with the Ruby 1.9.3-p194 I use RVM to manage ruby versions both locally and on the server. After I installed Ruby-2.1.2

Upgraded to Ruby version 2.1.2, passenger still on 1.9.3

时光怂恿深爱的人放手 提交于 2021-02-07 03:06:06
问题 How do I update the Ruby Version used by Passenger whenever I update Ruby and its Gemlist using RVM and Capistrano? What is the best way to check if my app is using the right ruby version and gemset? I have a Rails app running on a Linode server (Ubuntu), with NGinx and Passenger. Before it was running without any problem. Previously my app was running Ruby on Rails 3.2.16 with the Ruby 1.9.3-p194 I use RVM to manage ruby versions both locally and on the server. After I installed Ruby-2.1.2

checking whether the C compiler works… no

爷,独闯天下 提交于 2021-02-05 20:29:25
问题 I recently uninstalled Xcode 4.2 and re-installed Xcode 4.3.1. Installed Command Line Tools also. The error says 'C compiler doesn't work`. On searching for this error, it said that it happens when Xcode is not installed. What am I missing? rvm install 1.9.3 --with-gcc=clang Installing Ruby from source to: /Users/ava/.rvm/rubies/ruby-1.9.3-preview1, this may take a while depending on your cpu(s)... ruby-1.9.3-preview1 - #fetching ruby-1.9.3-preview1 - #extracting ruby-1.9.3-preview1 to /Users

checking whether the C compiler works… no

馋奶兔 提交于 2021-02-05 20:27:54
问题 I recently uninstalled Xcode 4.2 and re-installed Xcode 4.3.1. Installed Command Line Tools also. The error says 'C compiler doesn't work`. On searching for this error, it said that it happens when Xcode is not installed. What am I missing? rvm install 1.9.3 --with-gcc=clang Installing Ruby from source to: /Users/ava/.rvm/rubies/ruby-1.9.3-preview1, this may take a while depending on your cpu(s)... ruby-1.9.3-preview1 - #fetching ruby-1.9.3-preview1 - #extracting ruby-1.9.3-preview1 to /Users

cannot load such file — openssl (LoadError)

淺唱寂寞╮ 提交于 2021-01-20 14:41:55
问题 In OS X in rvm how do I check if openssl is configured properly? I get the cannot load such file -- openssl (LoadError) And I have tried everything in Rails 3 - no such file to load -- openssl with no success. 回答1: Check what rubies are installed: rvm list Then make sure to use one of the installed rubies: rvm use 1.9.3-p327 And test if openssl is available: ruby -ropenssl -e "puts :OK" It will print OK if openssl is enabled, otherwise you will get exception In case of exception => UPDATE:

cannot load such file — openssl (LoadError)

☆樱花仙子☆ 提交于 2021-01-20 14:40:09
问题 In OS X in rvm how do I check if openssl is configured properly? I get the cannot load such file -- openssl (LoadError) And I have tried everything in Rails 3 - no such file to load -- openssl with no success. 回答1: Check what rubies are installed: rvm list Then make sure to use one of the installed rubies: rvm use 1.9.3-p327 And test if openssl is available: ruby -ropenssl -e "puts :OK" It will print OK if openssl is enabled, otherwise you will get exception In case of exception => UPDATE:

cannot load such file — openssl (LoadError)

坚强是说给别人听的谎言 提交于 2021-01-20 14:38:57
问题 In OS X in rvm how do I check if openssl is configured properly? I get the cannot load such file -- openssl (LoadError) And I have tried everything in Rails 3 - no such file to load -- openssl with no success. 回答1: Check what rubies are installed: rvm list Then make sure to use one of the installed rubies: rvm use 1.9.3-p327 And test if openssl is available: ruby -ropenssl -e "puts :OK" It will print OK if openssl is enabled, otherwise you will get exception In case of exception => UPDATE:

Can't install Ruby 2.0.0 through RVM

穿精又带淫゛_ 提交于 2021-01-05 13:18:45
问题 I have inherited a legacy codebase that requires Ruby 2.0.0 to be installed with RVM. I am on Mac OS X Catalina, and the installer for Ruby 2.0.0 simply doesn't work. Here is what my installation attempts look like, all the way from the installation of RVM itself up to the attempted Ruby 2.0.0 installation. nbyrd$ \curl -sSL https://get.rvm.io | bash -s stable Downloading https://github.com/rvm/rvm/archive/1.29.10.tar.gz Downloading https://github.com/rvm/rvm/releases/download/1.29.10/1.29.10

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

十年热恋 提交于 2021-01-04 06:53:21
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var