rvm

Not getting info message after converting rvm from .rvmrc to .ruby-version

岁酱吖の 提交于 2019-12-12 14:16:54
问题 I've just run rvm rvmrc to ruby-version on a couple of projects. Looked at the produced files, they match what googling says should be in them (.ruby-version & .ruby-gemset). When I cd into the project directories, I no longer get the Using /home/ user /.rvm/gems/ruby-1.9.3-p392 with gemset projectname info message. Is there any way for get info message back? Thanks. 回答1: it should be enough to run: echo rvm_use_flag=2 >> ~/.rvmrc It will tell RVM to display the message always (it does not

sudo: rvm: command not found - RVM MultiUser install on Ubuntu 12.04 server

一笑奈何 提交于 2019-12-12 13:33:54
问题 I'm setting up a server, it's an Ubuntu 12.04 first I installed RVM multi-user: me@ubuntu$ \curl -L https://get.rvm.io | sudo bash -s stable then after RVM installed, as the installation suggests I added myself to RVM group usermod -a -G me rvm installed ruby rvm insall 1.9.3 --default then I tried to install system wide gem passenger and I get this: me@ubuntu:~$ rvmsudo gem install passenger sudo: gem: command not found In fact any command run with rvmsudo just says sudo : {command}: not

gem cleanup shows error: Unable to uninstall bundler-1.0.21 when upgrade to bundler-1.0.22

时光总嘲笑我的痴心妄想 提交于 2019-12-12 13:04:01
问题 gem cleanup report error: Attempting to uninstall bundler-1.0.21 Unable to uninstall bundler-1.0.21: Gem::InstallError: gem "bundler" is not installed But I already cleanuped bundler 1.0.21 and upgrade to bundler 1.0.22. I use rvm 1.10.2, ruby 1.9.3-p0, under Mac OS X 10.7.3. Update: I resolve this problem with the answer link rvm gemset use global gem uninstall xxx 回答1: rvm @global do gem uninstall bundler 回答2: Happened to me as well and solved it using: rvm gem set use global then gem

Ruby PATH is not correctly set up

允我心安 提交于 2019-12-12 12:33:46
问题 OK so I had Ruby working perfectly to use guard to watch some sass files, I restarted my computer, apple did some updates (no idea if this is related to the problem or not). Once it had rebooted, I went to switch guard back on, and I get this error: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning: Insecure world writable dir /usr/local/ImageMagick/bin in PATH, mode 040757 Now the one thing that is pretty obvious is the

/usr/bin/env: ln: Too many levels of symbolic links

♀尐吖头ヾ 提交于 2019-12-12 11:12:51
问题 This problem is killing me and I feel like I've tried everything. First off, the problem started happening when upgrading to Capistrano 3. Capistrano now utilizes /usr/bin/env before every command when deploying, to make sure the environment setup is correct. When Capistrano goes to create symlinks to the necessary shared directory and respective files, it attempts commands like: /usr/bin/env ln -s /full/path /different/full/path ...and then it errors out: /usr/bin/env: ln: Too many levels of

Cannot spawn application

社会主义新天地 提交于 2019-12-12 10:38:51
问题 I have rvm, passenger, ruby 1.9.3, nginx but I now get this error Cannot spawn application '/path/to/my/app': Could not read from the spawn server: Connection reset by peer (104) I have passenger_root set to the output of passenger-config --root and ruby-1.9.3-p125 for passenger_ruby I did have to do rvmsudo passenger-install-nginx-module because passenger kept trying to install with 1.8.7 support rather than 1.9.3 i've even set spawn mode to conservative. Is there anything I'm missing out?

Can't install compass via rvm

孤街醉人 提交于 2019-12-12 10:36:44
问题 I was a happy and worries-free user of compass in Ubuntu 11.10. I upgraded to 12.04 and got this problem: Compass (ruby) encoding error I somehow managed to solve it installing ruby via rvm on one of my computers but now I get a different error in my other computer (which had the same initial problem). I install ruby and compass and use the global gemset as default: gem list *** LOCAL GEMS *** bundler (1.1.3) chunky_png (1.2.5) compass (0.12.1) fssm (0.2.9) rake (0.9.2.2) rubygems-bundler (1

RVM requirements error

谁都会走 提交于 2019-12-12 09:57:18
问题 I have OS X Mavericks installed and I'm trying to run rvm requirements in terminal and it gives me this error. Installing required packages: autoconf, automake, libtool, pkgconfig, libyaml, libffi, readline, libksba, curl-ca-bundle, gdbm............. Error running 'requirements_osx_port_libs_install autoconf automake libtool pkgconfig libyaml libffi readline libksba curl-ca-bundle gdbm', please read /Users/Alex/.rvm/log/ruby-1.9.3-p448/1374263757_package_install_autoconf_automake_libtool

trouble installing RVM on a mac

回眸只為那壹抹淺笑 提交于 2019-12-12 09:39:09
问题 I am trying to set up a local Rails environment, and I am having issues with getting RVM installed. Here is the error I get: $ bash < <( curl http://rvm.io/releases/rvm-install-head ) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 185 100 185 0 0 136 0 0:00:01 0:00:01 --:--:-- 0 bash: line 1: html: No such file or directory bash: line 2: syntax error near unexpected token `<' 'ash: line 2: `<head><title>301 Moved Permanently</title><

rails s: Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)

风格不统一 提交于 2019-12-12 09:29:19
问题 When I start rails with: $ rails s I get: /Users/snowcrash/.rvm/gems/ruby-2.1.5@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound) So, I ran bundle install : $ bundle install Using rake 10.4.2 but gem list rake gives: *** LOCAL GEMS *** rake (10.1.0, 10.0.4) How come I don't have rake 10.4.2 installed? Also, when I run bundle check it gives me: The Gemfile's dependencies are satisfied which