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
192-168-1-5:sandbox agrimm$ rvm install jruby-1.6.0 | |
/Users/agrimm/.rvm/scripts/manage: line 705: cd: /Users/agrimm/.rvm/src: No such file or directory | |
jruby-1.6.0 - #fetching | |
jruby-1.6.0 - #downloading jruby-bin-1.6.0, this may take a while depending on your connection... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 14.6M 100 14.6M 0 0 120k 0 0:02:04 0:02:04 --:--:-- 99127 | |
jruby-1.6.0 - #extracting jruby-bin-1.6.0 to /Users/agrimm/.rvm/src/jruby-1.6.0 | |
mv: rename /Users/agrimm/.rvm/tmp/rvm_src_85173/jruby-1.6.0 to /Users/agrimm/.rvm/src/jruby-1.6.0: No such file or directory | |
jruby-1.6.0 - #extracted to /Users/agrimm/.rvm/src/jruby-1.6.0 |
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
Andrew-Grimms-MacBook-Pro:~ agrimm$ rvm install --debug --branch one_eight_attempt_4 ruby-nruby_1_8_obvious_bogus | |
Installing Ruby from source to: /Users/agrimm/.rvm/rubies/ruby-1.8.7-p334-nruby_1_8_obvious_bogus, this may take a while depending on your cpu(s)... | |
ruby-1.8.7-p334-nruby_1_8_obvious_bogus - #fetching | |
ruby-1.8.7-p334-nruby_1_8_obvious_bogus - #extracting ruby-1.8.7-p334 to /Users/agrimm/.rvm/src/ruby-1.8.7-p334-nruby_1_8_obvious_bogus | |
ruby-1.8.7-p334-nruby_1_8_obvious_bogus - #extracted to /Users/agrimm/.rvm/src/ruby-1.8.7-p334-nruby_1_8_obvious_bogus | |
ruby-1.8.7-p334-nruby_1_8_obvious_bogus - #configuring | |
ruby-1.8.7-p334-nruby_1_8_obvious_bogus - #compiling | |
ruby-1.8.7-p334-nruby_1_8_obvious_bogus - #installing | |
Removing old Rubygems files... |
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
~ steveklabnik$ ruby -v | |
rubinius 1.2.4dev (1.8.7 dbd17069 yyyy-mm-dd JI) [x86_64-apple-darwin10.6.0] | |
~ steveklabnik$ irb | |
rbx-head :001 > new = [1, 2, 3] | |
=> [1, 2, 3] | |
rbx-head :002 > new | |
NoMethodError: undefined method `new' on an instance of Object. # Cancel annoying ` | |
from Kernel(Object)#new (method_missing) at kernel/delta/kernel.rb:85 | |
from { } in Object#irb_binding at (irb):2 | |
rbx-head :003 > ^D~ steveklabnik$ rvm use 1.8.7 |
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
# Code is from http://opensoul.org/2010/5/3/the-quest-for-the-holy-object-serialization-format | |
class Class | |
yaml_as "tag:ruby.yaml.org,2002:class" | |
def Class.yaml_new( klass, tag, val ) | |
if String === val | |
val.split(/::/).inject(Object) {|m, n| m.const_get(n)} | |
else | |
raise YAML::TypeError, "Invalid Class: " + val.inspect |
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
Andrew-Grimms-MacBook-Pro:~ agrimm$ rvm install ruby-head | |
Installing Ruby from source to: /Users/agrimm/.rvm/rubies/ruby-head, this may take a while depending on your cpu(s)... | |
ruby-head - #fetching | |
Cloning from https://github.com/ruby/ruby.git, this may take a while depending on your connection... | |
Initialized empty Git repository in /Users/agrimm/.rvm/repos/ruby-head/.git/ | |
remote: Counting objects: 31219, done. | |
remote: Compressing objects: 100% (14314/14314), done. | |
remote: Total 31219 (delta 23603), reused 22606 (delta 16153) | |
Receiving objects: 100% (31219/31219), 21.60 MiB | 129 KiB/s, done. |
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
rm *yml | |
rvm use ruby-head | |
ruby bin/small_eigen_collider | |
rvm ruby bin/small_eigen_collider | |
# Raises a problem with a past version of jruby | |
rm *yml | |
rvm use ruby-1.8.7-head | |
ruby bin/small_eigen_collider | |
rvm ruby bin/small_eigen_collider |
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
abbrev base64 benchmark bigdecimal bigdecimal/ludcmp bigdecimal/math bigdecimal/jacobian bigdecimal/newton bigdecimal/nlsolve cgi cgi/session cmath complex continuation csv curses date dbm delegate digest/md5 digest/sha1 dl/func dl/import drb drb/observer English erb etc expect socket fctnl fiber fileutils find forwardable getoptlong gserver iconv io/wait ipaddr irb json logger maatrix minitest monitor mutex_m net/ftp net/http nkf observer open3 optparse ostruct pathname pp prettyprint prime pstore pty rational readline rinda ripper rss/2.0 scanf sdbm securerandom set shellwords singleton socket stringio strscan syslog tempfile test/unit thread thwait time timeout tmpdir tracer tsort un uri webrick xmlrpc/server xmlrpc/client yaml | |
gdbm mathn tk | |
net/imap net/pop net/smtp net/telnet open-uri net/https zlib | |
profile profiler |
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
Last login: Thu Dec 30 01:03:03 on ttys018 | |
192-168-1-2:~ agrimm$ cd ruby | |
192-168-1-2:ruby agrimm$ cd almost_empty_dir/ | |
192-168-1-2:almost_empty_dir agrimm$ ls | |
192-168-1-2:almost_empty_dir agrimm$ mkdir ruby | |
192-168-1-2:almost_empty_dir agrimm$ touch ruby/talcum.rb | |
192-168-1-2:almost_empty_dir agrimm$ mkdir ruby/another_one | |
192-168-1-2:almost_empty_dir agrimm$ rvm get head | |
Original installed RVM version: |
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
192-168-1-2:~ agrimm$ cd ruby | |
192-168-1-2:ruby agrimm$ ls -ltra | |
total 0 | |
drwxr-xr-x+ 61 agrimm staff 2074 22 Dec 00:16 .. | |
drwxr-xr-x 3 agrimm staff 102 30 Dec 00:27 kmer | |
drwxr-xr-x 4 agrimm staff 136 30 Dec 00:38 . | |
drwxr-xr-x 4 agrimm staff 136 30 Dec 00:38 almost_empty_dir | |
192-168-1-2:ruby agrimm$ cd almost_empty_dir/ | |
192-168-1-2:almost_empty_dir agrimm$ mkdir ruby | |
192-168-1-2:almost_empty_dir agrimm$ ls -ltr |
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
Last login: Thu Dec 30 00:34:31 on ttys015 | |
192-168-1-2:~ agrimm$ cd ruby | |
192-168-1-2:ruby agrimm$ mkdir almost_empty_dir | |
192-168-1-2:ruby agrimm$ cd almost_empty_dir/ | |
192-168-1-2:almost_empty_dir agrimm$ touch talcum.rb | |
192-168-1-2:almost_empty_dir agrimm$ mkdir another_one | |
192-168-1-2:almost_empty_dir agrimm$ touch another_one/pyrite.rb | |
192-168-1-2:almost_empty_dir agrimm$ rvm --trace remove --gems jruby-1.5.2 | |
+ [[ -z '' ]] | |
+ export 'PS4=+[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() $ }' |