Skip to content

Instantly share code, notes, and snippets.

View anteaya's full-sized avatar

Anita Kuno anteaya

View GitHub Profile
Object subclass: #Animal
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Learning Space'!
!Animal methodsFor: 'sounds' stamp: 'AnitaKuno 4/30/2011 11:40'!
makeSound
Transcript
cr;
rvm install 1.8.6
Installing Ruby from source to: /home/anita/.rvm/rubies/ruby-1.8.6-p420, this may take a while depending on your cpu(s)...
ruby-1.8.6-p420 - #fetching
ruby-1.8.6-p420 - #extracted to /home/anita/.rvm/src/ruby-1.8.6-p420 (already extracted)
ruby-1.8.6-p420 - #configuring
ruby-1.8.6-p420 - #compiling
ruby-1.8.6-p420 - #installing
ruby-1.8.6-p420 - #rubygems installing to ruby-1.8.6-p420
ERROR: Error running 'GEM_PATH='/home/anita/.rvm/gems/ruby-1.8.6-p420:/home/anita/.rvm/gems/ruby-1.8.6-p420@global:/home/anita/.rvm/gems/ruby-1.8.6-p420@global' GEM_HOME='/home/anita/.rvm/gems/ruby-1.8.6-p420' /home/anita/.rvm/rubies/ruby-1.8.6-p420/bin/ruby /home/anita/.rvm/src/rubygems-1.5.2/setup.rb', please read /home/anita/.rvm/log/ruby-1.8.6-p420/rubygems.install.log
28 drive_vehicle(Cattle)
16 def drive_vehicle(v)
17 v.drive
18 end
@anteaya
anteaya / gist:785684
Created January 19, 2011 04:19
My output from 'The Masterful Pip Install Two Step by zedshaw'
$ easy_install -h
The program 'easy_install' is currently not installed. You can install it by typing:
sudo apt-get install python-setuptools
$ curl --help
Usage: curl [options...] <url>
Options: (H) means HTTP/HTTPS only, (F) means FTP only
--anyauth Pick "any" authentication method (H)
-a/--append Append to target file when uploading (F/SFTP)
--basic Use HTTP Basic Authentication (H)
--cacert <file> CA certificate to verify peer against (SSL)
'til I get a moment to add this to the docs
"it does a very fast reinstall of all gems in the current gemset to make sure things are clean"
@anteaya
anteaya / sdfdsf
Created August 11, 2010 01:51 — forked from tomtt/sdfdsf
Feature: answer a question
In order to help another user
As a user
I want to answer a question
Scenario: I want to answer a question
Given a question exists with text: "What is your favourite colour?"
When I go to the home page
And I follow "questions"
And I follow "What is your favourite colour?"
rvm install 1.9.2
info: Installing Ruby from source to: /home/anita/.rvm/rubies/ruby-1.9.2-preview3
info: Downloading ruby-1.9.2-preview3, 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 10.2M 100 10.2M 0 0 240k 0 0:00:43 0:00:43 --:--:-- 288k
info: Extracting ruby-1.9.2-preview3 ...
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
"gcc -o conftest -I/home/anita/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1/i686-linux -I/home/anita/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1/ruby/backward -I/home/anita/.rvm/rubies/ruby-1.9.2-preview1/include/ruby-1.9.1 -I. -I/usr/local/include -D_FILE_OFFSET_BITS=64 -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings conftest.c -L. -L/home/anita/.rvm/rubies/ruby-1.9.2-preview1/lib -Wl,-R/home/anita/.rvm/rubies/ruby-1.9.2-preview1/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/anita/.rvm/rubies/ruby-1.9.2-preview1/lib -L/home/anita/.rvm/rubies/ruby-1.9.2-preview1/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */
/home/anita/.rvm/rubies/ruby-1.9.2-preview1/bin/ruby extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no