rvm

Problem installing Ruby 1.9.2 with RVM on OSX 10.4

孤人 提交于 2019-12-12 03:47:14
问题 I successfully installed Ruby 1.8.7 with RVM on OS 10.4. However, when I try to install 1.9.2, I get the following error: make: * [libruby.1.9.1.dylib] Error 1 Installation: [qm]$ rvm install 1.9.2 /Users/qm/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)... % ruby-1.9.2-p136 - #fetching % ruby-1.9.2-p136 - #downloading ruby-1.9.2-p136, this may take a while depending on your connection...% ruby-1.9.2-p136 - #extracting ruby-1.9.2-p136 to /Users/qm/.rvm/src/ruby-1

uninitialized constant AppGenerator::Config Error

半腔热情 提交于 2019-12-12 03:35:37
问题 I actually upgraded from Ubuntu 13.10 to Ubuntu 16.04 My rails was working fine in the previous versions. I am removing rvm and reinstalling from scratch. Yet I get this error always when I try to invoke the server uninitialized constant AppGenerator::Config Did you mean? RbConfig Do I have to define the rails path? 回答1: Somehow (I think after installing Redmine) my enviroment collapsed. By following steps I removed and reinstalled Rails. Now the error had gone: gem uninstall rails gem

Postinstall, rvm(ruby version manager) without root access

落爺英雄遲暮 提交于 2019-12-12 03:29:21
问题 I am trying to use RVM, ("ruby version manager") and after the source installation, I need to add rvm command into my profile. I added following code to the $HOME/.profile file but it does not seem to work. [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. So I just manually typed below for temporary addition of rvm command, but it does not seem to work. I get Missing name for redirect error like below. >>source ~/.rvm/scripts/rvm Missing

Can't install RVM on Redhat Linux Server

北城以北 提交于 2019-12-12 03:25:58
问题 I need to install RVM in order to get my copy of Ruby updated to 2.0.0 I've tried this following command: \curl -L https://get.rvm.io | bash But it doesn't work and I get the following error: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13784 100 13784 0 0 34419 0 --:--:-- --:--:-- --:--:-- 34419 Downloading RVM from wayneeseguin branch master bash: line 133: which: command not found bash: line 116: rvm_error: command not found Could

getting a could not resolve host error when trying to install RVM on osx lion

半腔热情 提交于 2019-12-12 03:04:04
问题 I have all the prereq's installed.. I am on osx lion 10.7.2 xcode: $ xcodebuild -version Xcode 4.2.1 git: $ git --version git version 1.7.5.4 when i run $ bash < <( curl -s https://rvm.beginrescueend.com/install/rvm ) i get the following error: curl: (6) Could not resolve host: HD; nodename nor servname provided, or not known Could not download 'https://github.com/wayneeseguin/rvm/tarball/master'. any ideas why? If i run as sudo it goes through but then i get more errors... Need this to

Rvm on beagleboneblack disable posix

若如初见. 提交于 2019-12-12 02:53:31
问题 I'm trying to run rvm on Angstrom linux on BBB. When i try to launch rvm, i obtain: RVM can not be run with set -o posix , please turn it off and try again. Someone know about this? 回答1: This is a check to prevent running RVM from pure Sh shells, for proper functioning RVM requires Arrays (along other features) which are only available in Bash and Zsh . 回答2: Answer shared by @mapapis was useful to understand the reason (thanks) but I think precise steps to change the default login shell

JRuby deployment options that support multiple versions of JRuby

*爱你&永不变心* 提交于 2019-12-12 02:49:58
问题 I'm looking for a way to deploy multiple JRuby apps on a single server, the apps are in different stages and hence use different versions of JRuby, in the long term it would be pretty complicated to try and sync all of the applications with all of the application servers, so I'm looking something akin to Phusion Passenger 4 in the Javaland. Apparently Passenger allows something like this, but there's no documentation available how such a setup should work. Torquebox doesn't mention this use

Trouble running compass on OSX - LoadError on line [“51”]

泄露秘密 提交于 2019-12-12 02:44:37
问题 I read a lot of the issues here before, unfortunately non of the described solutions worked for me. I'm on OSX and using ruby-1.9.3-p448 via rvm. Everything freshly set up. Then I did sudo gem install compass for getting compass and sass. No error messages. stnwbr$ ruby -v ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin12.4.0] stnwbr$ compass -v Compass 0.12.2 (Alnilam) stnwbr$ sass -v Sass 3.2.10 (Media Mark) but as soon as I do something like compass create or compass watch I get:

My development environment was wiped out and I'm getting a series of errors in trying to fix it

大憨熊 提交于 2019-12-12 02:31:42
问题 So I was messing with gemsets with a friend of mine and I accidentally deleted a one. I wasn't sure what happened, so I just kinda brushed it off. Then I went to run 'rails server' for my old app that I've been working on and nothing happens for like 2 minutes and then finally it spits out an error. /Users/Nick/.rvm/bin/ruby: line 6: /Users/Nick/.rvm/bin/ruby: Argument list too long /Users/Nick/.rvm/bin/ruby: line 6: /Users/Nick/.rvm/bin/ruby: Undefined error: 0 So then I did everything

Need help configuring a Redis-backed library on Ruby on Rails with RVM

余生颓废 提交于 2019-12-12 02:24:16
问题 I'm following the configuration guidelines for installing resque. I'm met with a (LoadError). I'm using RVM 1.9.2-p180, rails 3.0.6, and POW. This is probably an issue with my load path being totally wrong. So here is some extra info: master ~/projects/chaggregator $ which rails /Users/boris/.rvm/gems/ruby-1.9.2-p180/bin/rails master ~/projects/chaggregator $ which ruby /Users/boris/.rvm/rubies/ruby-1.9.2-p180/bin/ruby master ~/projects/chaggregator $ whereis ruby /usr/bin/ruby master ~