rvm

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

浪子不回头ぞ 提交于 2019-12-02 07:53:58
问题 used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps on ruby 2.0 , so I added 2.0 to rvm : ruby-1.9.2-p320 [ i686 ] ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] =* ruby-2.0.0-p247 [ i686 ] installed passenger and passenger-apache-module , instructions says to add these lines: LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0

Unable to load Sass / Compass after installing RVM, to use with Assetic in Symfony2

穿精又带淫゛_ 提交于 2019-12-02 06:57:27
问题 I was trying to use Capifony, which requires Capistrano, which requires Ruby. But my apt version of ruby was old and was throwing syntax errors. So then I installed RVM and did this: $ rvm use 1.9.3 $ rvm --rvmrc --create use 1.9.3@myapp $ gem install sass [--pre] $ gem install compass [--pre] $ updatedb $ locate sass | grep myapp | grep bin $ locate compass | grep myapp | grep bin Copied and pasted those paths to config.yml sass: bin: /usr/local/rvm/gems/ruby-1.9.3-p194@myapp/gems/sass-3.2.0

no such file to load — bundler/setup in Rails 3.2 with Passenger

妖精的绣舞 提交于 2019-12-02 06:24:31
问题 I'm running a vserver on apache2 with passenger. Using RVM for ruby. Ruby Version -> 1.9.3p194 Rails Version -> 3.2.3 Set up by Apache Virtual Host Configuration ... Now, when I'm entering the url into my browser, a passenger error page shows up: no such file to load -- bundler/setup I have no idea what to do now. Can someone help me? 回答1: Create a .htaccess in your root dir and use it to specify the GEM_PATH. For example: SetEnv GEM_PATH /home/dinduks/.rvm/gems/ruby-1.9.3-p0 回答2: looks like

New Rails installation - no such file to load — phusion_passenger/alalytics_logger

跟風遠走 提交于 2019-12-02 06:03:07
I just installed Ruby on Rails on my server and keep getting the following error when I view the page. Error Message: No such file to load -- phusion_pasenger/analytics_logger Current Installation: Ubuntu 10.04 64 Apache 2 RVM 1.5.2 Ruby 1.8.7 EE Rails 3.0.5 Passenger 3 Mongus Pong's answer came in while I was typing the same thing about permissions. Check into the PassengerUser and PassengerUserSwitching directives to setup the appropriate users and permissions. http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerUserSwitching More specific info here regarding how these

Errors installing RVM

为君一笑 提交于 2019-12-02 04:38:17
I'm trying to install rvm on redhat 5.5 and I'm getting this error: [mc@owl-ci ~]$ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 979 100 979 0 0 8168 0 --:--:-- --:--:-- --:--:-- 318k Cloning into rvm... remote: Counting objects: 18463, done. remote: Compressing objects: 100% (4985/4985), done. remote: Total 18463 (delta 12517), reused 17903 (delta 12002) Receiving objects: 100% (18463/18463), 3.19 MiB, done. Resolving deltas: 100% (12517/12517), done. mkdir:

Make error installing Ruby 1.9.2 via rvm OSX Lion 10.7.2 XCode 4.2

穿精又带淫゛_ 提交于 2019-12-02 04:25:39
问题 I'm getting the following error when trying to install 1.9.2 with rvm /Users/craigspaeth/.rvm/scripts/functions/utility: line 152: date: command not found Installing yaml to /Users/craigspaeth/.rvm/usr /Users/craigspaeth/.rvm/scripts/functions/utility: line 152: date: command not found ERROR: Error running 'make install', please read /Users/craigspaeth/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log And here is the yaml/configure.log [] make install Making install in include make[2]: Nothing

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

穿精又带淫゛_ 提交于 2019-12-02 03:52:05
used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps on ruby 2.0 , so I added 2.0 to rvm : ruby-1.9.2-p320 [ i686 ] ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] =* ruby-2.0.0-p247 [ i686 ] installed passenger and passenger-apache-module , instructions says to add these lines: LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p247/gems/passenger-4.0.19/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/rvm/gems/ruby

Cannot install Ruby 1.9.3 on a clean Lion Install

风格不统一 提交于 2019-12-02 03:39:31
Trying to install 1.9.3 using RVM. Getting these errors in my make.log compiling readline.c readline.c:1499:9: error: use of undeclared identifier 'username_completion_function'; did you mean 'rl_username_completion_function'? rl_username_completion_function); ^ readline.c:69:42: note: expanded from macro 'rl_username_completion_function' # define rl_username_completion_function username_completion_function ^ /usr/local/include/readline/readline.h:443:14: note: 'rl_username_completion_function' declared here extern char *rl_username_completion_function PARAMS((const char *, int)); ^ 1 error

Unable to load Sass / Compass after installing RVM, to use with Assetic in Symfony2

筅森魡賤 提交于 2019-12-02 03:15:57
I was trying to use Capifony, which requires Capistrano, which requires Ruby. But my apt version of ruby was old and was throwing syntax errors. So then I installed RVM and did this: $ rvm use 1.9.3 $ rvm --rvmrc --create use 1.9.3@myapp $ gem install sass [--pre] $ gem install compass [--pre] $ updatedb $ locate sass | grep myapp | grep bin $ locate compass | grep myapp | grep bin Copied and pasted those paths to config.yml sass: bin: /usr/local/rvm/gems/ruby-1.9.3-p194@myapp/gems/sass-3.2.0.alpha.277/bin/sass #apply_to: "\.scss$" compass: bin: /usr/local/rvm/gems/ruby-1.9.3-p194@myapp/gems

RVM 'not found' after successful usage and a few days later

自作多情 提交于 2019-12-01 23:42:43
I installed RVM a few days ago, which worked perfectly. A few days later (now, after a few reboots I guess), it's like it's not installed, shell says rvm not found although I can see it all in my ~/.rvm folder, and there is also a scripts folder into that. I tried rerunning the install script over it, to no result (said it upgraded something, no difference). I tried the command for reloading rvm into new shell sessions. I've also had a look at this Q&A , to no help. What am I missing here? (I'm on Ubuntu Natty) I would guess your PATH is not setup to include ~/.rvm or ~/.rvm/bin check if echo