Created
November 7, 2011 22:08
-
-
Save tundal45/1346366 to your computer and use it in GitHub Desktop.
Issues with running RVM with Rake
This file contains 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
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function |
This file contains 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
rake testRVM | |
(in /Users/ashish/repos/cs-groupon) | |
rvm list | |
Using /Users/ashish/.rvm/gems/ree-1.8.7-2010.02 with gemset cs | |
rvm rubies | |
rbx-head [ x86_64 ] | |
=> ree-1.8.7-2010.02 [ i686 ] | |
ruby-1.8.7-p352 [ i686 ] | |
ruby-1.9.2-p290 [ i386 ] | |
ruby-1.9.2-p290-patched [ i386 ] | |
ruby-1.9.3-rc1 [ x86_64 ] | |
******************************************************************** | |
gemdir | |
/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/spec_set.rb:88:in `materialize': Could not find rake-0.8.7 in any of the sources (Bundler::GemNotFound) | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `map!' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `materialize' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in `specs' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in `specs_for' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in `requested_specs' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in `requested_specs' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in `setup' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler.rb:110:in `setup' | |
from /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib/bundler/setup.rb:17 | |
Using /Users/ashish/.rvm/gems/ree-1.8.7-2010.02 with gemset cs | |
******************************************************************** | |
current | |
Using /Users/ashish/.rvm/gems/ree-1.8.7-2010.02 with gemset cs | |
ree-1.8.7-2010.02@cs | |
******************************************************************** | |
GEM_HOME: /Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs | |
******************************************************************** | |
rvm info | |
Using /Users/ashish/.rvm/gems/ree-1.8.7-2010.02 with gemset cs | |
ree-1.8.7-2010.02@cs: | |
system: | |
uname: "Darwin G15442.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64" | |
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)" | |
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)" | |
rvm: | |
version: "rvm 1.9.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]" | |
ruby: | |
interpreter: "ruby" | |
version: "1.8.7" | |
date: "2010-04-19" | |
platform: "i686-darwin10.8.0" | |
patchlevel: "2010-04-19 patchlevel 253" | |
full_version: "ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin10.8.0], MBARI 0x6770, Ruby Enterprise Edition 2010.02" | |
homes: | |
gem: "/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs" | |
ruby: "/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02" | |
binaries: | |
ruby: "/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby" | |
irb: "/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/bin/irb" | |
gem: "/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/bin/gem" | |
rake: "/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@global/bin/rake" | |
environment: | |
PATH: "/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/bin:/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@global/bin:/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/bin:/Users/ashish/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin" | |
GEM_HOME: "/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs" | |
GEM_PATH: "/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs:/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@global" | |
MY_RUBY_HOME: "/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02" | |
IRBRC: "/Users/ashish/.rvm/rubies/ree-1.8.7-2010.02/.irbrc" | |
RUBYOPT: "-I/Users/ashish/.rvm/gems/ree-1.8.7-2010.02@cs/gems/bundler-1.0.21/lib -rbundler/setup" | |
gemset: "cs" |
This file contains 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
desc "testing to see if rvm is working with Rake correctly" | |
task :testRVM do | |
puts "rvm list" | |
puts `rvm list` | |
puts | |
puts "********************************************************************" | |
puts | |
puts "gemdir" | |
puts `rvm ree-1.8.7-2010.02@cs do rvm gemdir` | |
puts | |
puts "********************************************************************" | |
puts | |
puts "current" | |
puts `rvm current` | |
puts "********************************************************************" | |
puts | |
puts "GEM_HOME: #{ENV['GEM_HOME']}" | |
puts | |
puts "********************************************************************" | |
puts | |
puts "rvm info" | |
puts `rvm info` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment