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
C:\Documents and Settings\A.Grimm>gem install exemplor -s http://gemcutter.org | |
ERROR: While executing gem ... (Gem::RemoteSourceException) | |
HTTP Response 403 | |
C:\Documents and Settings\A.Grimm>gem update --system | |
Updating RubyGems... | |
Attempting remote update of rubygems-update | |
Install required dependency builder? [Yn] y | |
Install required dependency session? [Yn] y | |
Install required dependency hoe-seattlerb? [Yn] y |
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
[agrimm@computer_name haskell]$ git clone git://github.com/mwotton/Hubris.git Hubris_20091025 | |
Initialized empty Git repository in /home/agrimm/ruby/haskell/Hubris_20091025/.git/ | |
remote: Counting objects: 679, done. | |
remote: Compressing objects: 100% (414/414), done. | |
remote: Total 679 (delta 385), reused 471 (delta 251) | |
Receiving objects: 100% (679/679), 210.90 KiB | 109 KiB/s, done. | |
Resolving deltas: 100% (385/385), done. | |
[agrimm@computer_name haskell]$ cd Hubris_20091025/ | |
[agrimm@computer_name Hubris_20091025]$ ruby /usr/local/bin/rake | |
(in /home/agrimm/ruby/haskell/Hubris_20091025) |
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
PATH=c:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\QuickTime\QTSystem\ |
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
C:\Documents and Settings\Andrew>PATH | |
PATH=c:\ruby19\bin;c:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\QuickTime\QTSystem\ | |
C:\Documents and Settings\Andrew>gem update --system | |
c:/ruby19/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in `require': 126: The specified module could not be found. - c:/ruby19/lib/ruby/1.9.1/i386-mswin32/zlib.so (LoadError) | |
from c:/ruby19/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in `<top (required)>' | |
from c:/ruby19/lib/ruby/1.9.1/rubygems/commands/update_command.rb:5:in `require' | |
from c:/ruby19/lib/ruby/1.9.1/rubygems/commands/update_command.rb:5:in `<top (required)>' | |
from c:/ruby19/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in `require' | |
from c:/ruby19/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in `rescue in load_and_instantiate' |
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
[agrimm@computer_name using_block_test]$ more skippy.rb | |
#This is from the Pickaxe | |
module Kernel | |
old_system_method = instance_method(:system) | |
define_method(:system) do |*args| | |
result = old_system_method.bind(self).call(*args) | |
puts "system(#{args.join(', ')}) returned #{result.inspect}" | |
result | |
end | |
end |
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
Yum update error before moving to Fedora 12 Beta | |
Traceback (most recent call last): | |
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2180, in get_updates | |
ygl = self.yumbase.doPackageLists(pkgnarrow='updates') | |
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1714, in doPackageLists | |
for (n,a,e,v,r) in self.up.getUpdatesList(): | |
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 715, in <lambda> | |
up = property(fget=lambda self: self._getUpdates(), | |
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 595, in _getUpdates |
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
#http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/86519 | |
print "\x3a\x2d\x29\x0a" |
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
#Under ruby 1.8 in windows | |
C:\Documents and Settings\Andrew>gem list chaser | |
*** LOCAL GEMS *** | |
C:\Documents and Settings\Andrew>gem list chaser --remote |
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
#Chaser can run in ruby 1.8 without the test-unit gem | |
C:\Documents and Settings\Andrew\Desktop\code\chaser>ruby --version | |
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] | |
C:\Documents and Settings\Andrew\Desktop\code\chaser>gem list test-unit --both | |
*** LOCAL GEMS *** | |
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
[agrimm@computer_name test_example]$ more *.rb | |
:::::::::::::: | |
without_run_equal.rb | |
:::::::::::::: | |
require "test/unit" | |
class WithoutRunEqualTestCase < Test::Unit::TestCase | |
def test_truth | |
assert_equal 4, 2+2 | |
end |