Skip to content

Instantly share code, notes, and snippets.

View anteaya's full-sized avatar

Anita Kuno anteaya

View GitHub Profile
anita@anita-laptop:~/development/ruby/ruby_in_practice$ spec SPEC_OPTS="--colour" first_rspec.rb
/home/anita/.gem/ruby/1.8/gems/rspec-1.2.4/lib/spec/runner/options.rb:247:in `files_to_load': File or directory not found: SPEC_OPTS=--colour (RuntimeError)
from /home/anita/.gem/ruby/1.8/gems/rspec-1.2.4/lib/spec/runner/options.rb:239:in `each'
from /home/anita/.gem/ruby/1.8/gems/rspec-1.2.4/lib/spec/runner/options.rb:239:in `files_to_load'
from /home/anita/.gem/ruby/1.8/gems/rspec-1.2.4/lib/spec/runner/options.rb:99:in `run_examples'
from /home/anita/.gem/ruby/1.8/gems/rspec-1.2.4/lib/spec/runner/command_line.rb:9:in `run'
from /home/anita/.gem/ruby/1.8/gems/rspec-1.2.4/bin/spec:4
from /usr/bin/spec:19:in `load'
from /usr/bin/spec:19
anita@anita-laptop:~/development/ruby/ruby_in_practice$
anita@anita-laptop:~$ rvm use 1.9 --debug
+ case "$action" in
+ rvm-use ruby 1.9
+ implementation=ruby
+ case "$implementation" in
+ '[' 1.9 = 1.8.7 ']'
+ '[' 1.9 = 1.8.6 -o 1.9 = 1.8 ']'
+ '[' 1.9 = 1.9.2 ']'
+ '[' 1.9 = 1.9.1 -o 1.9 = 1.9 ']'
+ level=243
anita@anita-laptop:~$ rvm debug
rvm 0.0.15 (2009.08.25) [http://github.com/wayneeseguin/rvm]
ruby:
interpreter: "ruby"
version: "1.8.6"
date: "2007-09-24"
platform: "i486-linux"
patchlevel: "2007-09-24 patchlevel 111"
full_version: "ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]"
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
anita@anita-laptop:~/sandbox/rvm/site$ nanoc3 compile
Loading site data...
Compiling site...
update [0.04s] output/todo/index.html
Site compiled in 0.09s.
anita@anita-laptop:~/sandbox/rvm/site$ nanoc3 aco
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- mime/types (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/nanoc3-3.0.0/lib/nanoc3/extra/auto_compiler.rb:15:in `initialize'
anita@anita-laptop:~$ rvm use 1.8.5 p-55
<e> Unknown ruby string component: 'p' </e>
<i> Now using system ruby. </i>
anita@anita-laptop:~$ rvm use 1.8.5p-55
<w> ruby ruby-1.8.5p-r55 is not installed. </w>
<i> To install do: 'rvm install ruby-1.8.5p-r55' </i>
anita@anita-laptop:~$ rvm install ruby-1.8.5p-r55
<i> Installing Ruby from source to: /home/anita/.rvm/ruby-1.8.5p-r55 </i>
<e> Error running 'svn checkout -q -r 55 http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5p /home/anita/.rvm/src/ruby-1.8.5p-r55', please check /home/anita/.rvm/log/ruby-1.8.5p-r55/svn.checkout.error.log </e>
anita@anita-laptop:~$ rvm install 1.8.5-tv1_8_5 --trace
install 1.8.5-tv1_8_5 --trace
+ [[ -z install ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ ! -z '' ]]
+ [[ -z 1 ]]
+ set -x
+ result=0
anita@anita-laptop:~$ rvm install jruby
/home/anita/.rvm/src/jruby-1.4.0 has already been extracted.
Building Nailgun
Error running 'builtin cd "/home/anita/.rvm/src/jruby-1.4.0/tool/nailgun" && ./configure --prefix=/home/anita/.rvm/rubies/jruby-1.4.0 && make ', please check /home/anita/.rvm/log/jruby-1.4.0/nailgun.error.log
install jruby --trace
rvm 0.1.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z install ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ 0 -gt 0 ]]
+ [[ ! -z '' ]]
anita@anita-laptop:~$ rvm install ruby-1.8.5-tv1_8_5
Installing Ruby from source to: /home/anita/.rvm/rubies/ruby-1.8.5-tv1_8_5
Running autoconf
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0