rvm

make error when installing `ruby-1.8.7-p334` with `rvm` on Snow Leopard

ぐ巨炮叔叔 提交于 2019-12-22 01:37:01
问题 Some of my Ruby gems stopped working after installing Snow Leopard (OS X 10.6). I also installed Xcode (to get make ) and get the following error when installing ruby-1.8.7-p334 with rvm . I was able to succesfully install it when running Leopard. Any help would be appreciated. Macintosh:haloror patelc75$ rvm install ruby-1.8.7-p334 Installing Ruby from source to: /Users/patelc75/.rvm/rubies/ruby-1.8.7-p334, this may take a while depending on your cpu(s)... ruby-1.8.7-p334 - #fetching ruby-1

The program 'gem' can be found in the following packages

妖精的绣舞 提交于 2019-12-21 20:39:00
问题 I'm installing Ruby on Rails on Virtual Box/Ubuntu 13.10. Below are the steps ruby -v => The program 'ruby' can be found in the following packages ... Try: sudo apt-get install source /my account/... ==> Ok. \curl -L https://get.rvm.io | bash => I've got a message thanking me for using RVM. In case of problems, I should consult their website or twitter. rvm requirements ==> Requirments installation successful. type rvm | head -n 1 ==> rvm is a function rvm list known ==> I get a list of ruby

How to solve the “You need to add gem 'daemons' to your Gemfile if you wish to use it” error in production mode?

我怕爱的太早我们不能终老 提交于 2019-12-21 17:36:20
问题 I am trying to properly use Capistrano and RVM in order to deploy my Ruby on Rails 3.2.2 application to the remote machine that is running Ubuntu 10.04 LTS. It seams that I solved my previous problem related to the "Rvm - Capistrano integration on Linux Ubuntu". However, on deploying I get the following error related to the DelayedJob gem: ... * executing "cd /srv/www/<APP_NAME>/releases/20120314135318 && bundle install" servers: ["<DOMAIN>"] [<DOMAIN>] executing command [<DOMAIN>] rvm_path=

Using RVM with different gemsets in TextMate

僤鯓⒐⒋嵵緔 提交于 2019-12-21 12:57:49
问题 I have set up RVM and made individual gemsets for my projects as per the RVM best practices. Now running a test file in TextMate dosen't work and I have read here what to do. The problem is that it won't work because the guide expects me to have just one gemset (they call it "Rails3"). I normally have 2-3 projects open at a time (using different gemsets) so I can't effectively use this approach. Have any of you solved that problem? 回答1: I've found the RVM wrappers method to be very buggy, and

Using RVM with different gemsets in TextMate

独自空忆成欢 提交于 2019-12-21 12:57:21
问题 I have set up RVM and made individual gemsets for my projects as per the RVM best practices. Now running a test file in TextMate dosen't work and I have read here what to do. The problem is that it won't work because the guide expects me to have just one gemset (they call it "Rails3"). I normally have 2-3 projects open at a time (using different gemsets) so I can't effectively use this approach. Have any of you solved that problem? 回答1: I've found the RVM wrappers method to be very buggy, and

Ruby 2.0.0 RVM fails compilation OS X 10.8.2 Mountain Lion

旧巷老猫 提交于 2019-12-21 12:09:20
问题 Trying to install it with RVM I get the following error: > [2013-02-25 10:09:24] make CC = /usr/local/bin/gcc-4.2 LD = ld > LDSHARED = /usr/local/bin/gcc-4.2 -dynamic -bundle CFLAGS = -O3 > -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe XCFLAGS = -include

RVM set ruby default, when open new terminal erase the RVM setting, go back to system ruby

余生长醉 提交于 2019-12-21 12:09:12
问题 I just got a new MacBook Pro and tried to setup the RVM in the system. I installed RVM and set the default to ➜ rvm list default Default Ruby (for new shells) ruby-1.9.3-p194 [ x86_64 ] My RVM version is ➜ rvm --version rvm 1.16.8 (master) by Wayne E. Seguin , Michal Papis [https://rvm.io/] I have put [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. at the bottom of the .bashrc_profile . When I open the new Terminal window, I have

I cannot get rvm to read my project specific .rvmrc

时光毁灭记忆、已成空白 提交于 2019-12-21 11:32:31
问题 I come in peace (re: rbenv) but I am super frustrated with rvm & .rvmrc. I keep on running into issues where I cd into my project folder only to find that my ruby & gemset environment has not been set correctly. So can someone once and for all tell me how to create a proper .rvmrc for my project. I have tried both ways that I know of: creating a .rvmrc and putting 'rvm use 1.9.2@GEMSET' in there (this works sometimes and sometimes not) using the rvm --create --rvmrc 1.9.2@GEMSET command line

Define Bundle Path With Capistrano

浪尽此生 提交于 2019-12-21 05:35:17
问题 I am using the following configurations in my deploy.rb file for capistrano: require 'bundler/capistrano' require 'rvm/capistrano' set :bundle_cmd, "/home/deployment/.rvm/gems/ruby-1.9.3-p194@global/bin/bundle" set :default_environment, { 'PATH' => "/home/deployment/.rvm/gems/ruby-1.9.3-p194/bin:/home/deployment/.rvm/bin:$PATH", 'RUBY_VERSION' => 'ruby 1.9.3', 'GEM_HOME' => "/home/deployment/.rvm/gems/ruby-1.9.3-p194", 'GEM_PATH' => "/home/deployment/.rvm/gems/ruby-1.9.3-p194", 'BUNDLE_PATH'

Installing Ruby offline using rvm

半腔热情 提交于 2019-12-21 05:16:15
问题 I need to install Ruby-1.9.2 in an offline machine using rvm. I tried by copying ruby-1.9.2-p180.tar.gz in to ./rvm/archives and running rvm install ruby-1.9.2. But still rvm is trying to download Ruby from ftp.ruby-lang.org'. Any advice is greatly appreciated... 回答1: I had a similar problem, where I want to deploy the ruby version and all associated gems to the production machines... I would highly recommend that you use either "rsync' or 'scp -rp' to copy the complete subdirectory ~/.rvm to