rvm

Ubuntu 10 Ruby 1.9 Rails 3 not working?

徘徊边缘 提交于 2019-12-03 16:43:49
Hi hope there is someone out there that can help me, have been struggling with this for quite some time now. Im running Ubuntu 10 on the dev machine wich had ruby 1.8 on it, wich I removed . I installed Ruby 1.9.3 and rails3 using RVM and this tutorial http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ when I type ruby -v I get ruby 1.9.3p125 (2012-02-16 revision 34643) [i686-linux] wich seems correct I created a new test app using rails new mysite wich created the new app successfully then I cd mysite and created a gemset rvm gemset create 'rails3' then I used this inside the /mysite/

RVM - MacPorts won't update through proxy

我是研究僧i 提交于 2019-12-03 16:33:00
I'm trying to use RVM to install ruby on my iMac. I start by typing the following: rvm list known I then target the version that I want to install (the guide I'm following recommends 1.9.2 instead of the base 1.8.7) with the following line: rvm install 1.9.2 Then I get this: 27698AM:~ butler15$ rvm install 1.9.2 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.7/x86_64/ruby-1.9.2-p320. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for osx, might require sudo password. Password

Zsh & RVM woes (rvm-prompt doesn't resolve)

≡放荡痞女 提交于 2019-12-03 16:06:39
问题 I recently saw the light and changed over to Zsh. I naturally used Oh My Zsh to configure it, as I'm noobish. So, there are several themes that have an rvm-prompt included and here is were my problems began. Everytime I load Zsh I have to rvm reload or else rvm-prompt is not resolved ( zsh: command not found: rvm-prompt ). Note that it resolves fine after I reload. Also, and in line, when I go to a directory that has its own .rvmrc (other gemset) and then I come out of it, the same problem

How to use RVM to install Ruby 1.9.3 when Xcode 4.3.2 is installed and gcc is missing?

拜拜、爱过 提交于 2019-12-03 15:58:51
I got a new iMac with Lion and installed Xcode 4.3.2. After running curl -L get.rvm.io | bash -s stable I opened up a new bash , and used $ rvm install 1.9.3 to install Ruby 1.9.3, but there were errors and the log said that the C compiler is not there. And rvm requirements says: $ rvm requirements [...] Xcode 4.3+ users - please be warned - only ruby-1.9.3-p125+ is partially supported - in case of any compilation issues: * downgrade to Xcode 4.1 * uninstall Xcode and install osx-gcc-installer and reinstall your rubies. So does that mean I might need to downgrade to Xcode 4.1? What if I want

Error when installing Ruby 2.1.3 with RVM

霸气de小男生 提交于 2019-12-03 14:51:01
问题 I'm trying to install Ruby 2.1.3 with RVM. I have the latest version of XCode installed and I have a clean install of rvm. I'm basically doing rvm autolibs brew rvm install ruby-2.1.3 Everything looks to be working ok, but then I get this error: Empty path passed to certificates update, functions stack: requirements_osx_update_openssl_cert_run rvm_requiremnts_fail_or_run_action __rvm_osx_ssl_certs_ensure_for_ruby __rvm_osx_ssl_certs_ensure_for_ruby_except_jruby external_import_setup external

Error while installing Ruby 1.9.3

三世轮回 提交于 2019-12-03 14:40:39
问题 I have an error while installing Ruby 1.9.3 through rvm. rvm install 1.9.3-p0 Installing Ruby from source to: /home/alder/.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 - #downloading ruby-1.9.3-p0, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0^[[B^[[B^[[B^[[B^[[B^[[B^[100

RVM vs native installation of ruby

一个人想着一个人 提交于 2019-12-03 14:02:26
问题 I was wondering if there is any downsides from using rvm in a production server. What should I prefer, rvm or native installation and why? 回答1: Use RVM. Because it is more simple. You'll have all distributions in one place, all gems in one place, and you're using the same tool that you use in development. There are no performance issues either. 回答2: Don't do it, err, maybe do it Simplicity is always rewarded. Rvm is a development tool. Since you will not be switching Ruby versions back and

Can't install passenger 3 on Snow Leopard (with RVM and ruby 1.9.2)

送分小仙女□ 提交于 2019-12-03 13:43:17
I've been trying to install passenger with no success yet. I've installed the gem, but when I run passenger-install-apache2-module it tells me This installer must be able to write to the following directory: /Users/myname/.rvm/gems/ruby-1.9.2-p0/gems/passenger-3.0.0 But it can't do that, because you're running the installer as myname. Please re-run this installer as root. but if I do sudo passenger-install-apache2-module I get /Users/myname/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find RubyGem passenger (>= 0) (Gem::LoadError) from /Users

Error installing Ruby in Yosemite

梦想的初衷 提交于 2019-12-03 13:37:51
I have recently updated my OS X to 10.10 and since then facing issue installing ruby through RVM. There is a dependency on gcc46 which I am unable to resolve. Any help is appreciated. Below is the error stack. rvm reinstall ruby-1.9.3-p547 ruby-1.9.3-p547 - #removing src/ruby-1.9.3-p547 - please wait ruby-1.9.3-p547 - #removing rubies/ruby-1.9.3-p547 - please wait Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.10/x86_64/ruby-1.9.3-p547. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking

Switching over to zsh breaks rails in command line

笑着哭i 提交于 2019-12-03 13:19:18
问题 I just recently switched over to using zsh with oh-my-zsh and I am having issues using the rails command line tool. Here are the steps that I ran through, and the error that I am receiving. I ran the curl command that the github page provides: curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh Then I went to run rails s, this is the following error message that I receive: .rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs