Created
May 9, 2010 17:35
-
-
Save rrichards/395292 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#rails console in my project configured with .rvmrc | |
# sanity check | |
ruby-1.8.7-p249 > %x{"source ~/.zshrc"} | |
sh: source ~/.zshrc: No such file or directory | |
=> "" | |
ruby-1.8.7-p249 > %x{"source ~/.zshrc ; rvm 1.8.7-p249%rails3 ; rvm gemdir"} | |
sh: source ~/.zshrc ; rvm 1.8.7-p249%rails3 ; rvm gemdir: No such file or directory | |
=> "" | |
# setting in config.ru | |
ENV["GEM_HOME"]=%x{"source ~/.zshrc ; rvm 1.8.7-p249%rails3 ; rvm gemdir"}.strip | |
# passenger log error | |
sh: source ~/.zshrc ; rvm 1.8.7-p249%rails3 ; rvm gemdir: No such file or directory | |
*** Exception PhusionPassenger::UnknownError in PhusionPassenger::Rack::ApplicationSpawner (Could not find gem 'rails (= 3.0.0.beta, runtime)' in any of the sources. (Bundler::GemNotFound)) (process 2432): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment