rvm

Getting the warning “Insecure world writable dir /home/chance ” in PATH, mode 040777 for rails and gem

▼魔方 西西 提交于 2019-11-26 06:58:48
问题 I\'ve tried this but it didn\'t work and seemed to be for osx. I have a fresh Ubuntu 10.10 install with rvm, rails 3 and ruby 1.9.2. I have a fresh rails app but using either gem or rails results in the following warnings (with lag). $ rails -v /home/chance/.rvm/gems/ruby-1.9.2-p180@global/gems/railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /home/chance in PATH, mode 040777 /home/chance/.rvm/gems/ruby-1.9.2-p180@global/gems/bundler-1.0.10/lib/bundler

Curl Certificate Error when Using RVM to install Ruby 1.9.2

◇◆丶佛笑我妖孽 提交于 2019-11-26 06:57:31
问题 RVM is running into a certificate error when trying to download Ruby 1.9.2. It looks like curl is having a certificate issue but I am not sure how to bypass it. I have included the exact error info below. $ rvm install 1.9.2 Installing Ruby from source to: /Users/willdennis/.rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s)... ruby-1.9.2-p180 - #fetching ERROR: Error running \'bunzip2 \'/Users/willdennis/.rvm/archives/ruby-1.9.2-p180.tar.bz2\'\', please read /Users

Rails keeps telling me that it's not currently installed

流过昼夜 提交于 2019-11-26 05:17:01
问题 I use rvm to manage different rubies and their gemsets. My shell is zsh with oh-my-zsh configured with basic settings. Enabled oh-my-zsh plugins are ruby, rails, osx, and git. Here\'s the command I used to install ruby-1.8.7 and rails-3.0.7. rvm install 1.8.7 rvm use 1.8.7 gem install rails -v=3.0.7 and then I typed rails and got: Rails is not currently installed on this system. To get the latest version, simply type: $ sudo gem install rails You can then rerun your \"rails\" command. I\'ve

rails server fails to start with mysql2 using rvm & ruby 1.9.2-p0 on OSX 10.6.5

旧时模样 提交于 2019-11-26 04:40:31
问题 I\'m getting the following error when I start rails server: $ rails server /Users/ssmith/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2.rb:7:in `require\': dlopen(/Users/ssmith/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.16.dylib (LoadError) Referenced from: /Users/ssmith/.rvm/gems/ruby-1.9.2-p0/gems/mysql2- 0.2.6/lib/mysql2/mysql2.bundle Reason: image not found - /Users/ssmith/.rvm/gems/ruby-1.9.2-p0/gems/mysql2- 0.2.6/lib

SSL Error When installing rubygems, Unable to pull data from 'https://rubygems.org/

本小妞迷上赌 提交于 2019-11-26 03:15:08
问题 I am trying to do the Michael Hartl tutorial. When I attempt to install rails 3.2.14 in my gemset, I get the following issue: $ gem install rails -v 3.2.14 ERROR: Could not find a valid gem \'rails\' (= 3.2.14), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz) After Googling around, I found that I could use a non

Can't install Ruby under Lion with RVM – GCC issues

允我心安 提交于 2019-11-26 00:24:37
问题 Most questions regarding this problem are due to missing Xcode; I have Xcode 4.2 installed. Install attempt: rvm install 1.9.3 Installing Ruby from source to: /Users/jamie/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... ruby-1.9.3-p0 - #fetching ruby-1.9.3-p0 - #extracted to /Users/jamie/.rvm/src/ruby-1.9.3-p0 (already extracted) Fetching yaml-0.1.4.tar.gz to /Users/jamie/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/jamie/.rvm/src Configuring yaml in

How can I remove RVM (Ruby Version Manager) from my system?

自古美人都是妖i 提交于 2019-11-25 23:26:19
问题 How can I remove RVM (Ruby Version Manager) from my system? 回答1: There's a simple command built-in that will pull it: rvm implode This will remove the rvm/ directory and all the rubies built within it. In order to remove the final trace of rvm, you need to remove the rvm gem, too: gem uninstall rvm If you've made modifications to your PATH you might want to pull those, too. Check your .bashrc , .profile and .bash_profile files, among other things. You may also have an /etc/rvmrc file, or one