Roger's woze

August 22, 2009

github.com/angal/arcadia gets project drawer

Filed under: Uncategorized — rogerdpack @ 11:54 pm

Yes it’s true–the infamous project drawer is coming to my…almost favorite editor [written in ruby].

www.github.com/angal/arcadia

ruby can’t backspace on ruby debug, also how to get the view returned all the text for it in rails

Filed under: Uncategorized — rogerdpack @ 10:04 pm

sometimes when using irb or ruby-debug in windows, backspace doesn’t work–it just doesn’t move the cursor, for some reason.

Possible fix: upgrade your version of rb-readline [?]

second, in rails tests sometimes you want to see all the HTML returned to the request.
Here’s how:
>> get :index
>> assert_select(‘*’)[0].to_s
“You are being redirected.“

enumerable extra woe

Filed under: Uncategorized — rogerdpack @ 8:40 pm

/!\ FAILSAFE /!\ Sat Aug 22 14:43:12 -0600 2009
Status: 500 Internal Server Error
can’t convert String into Array
C:/dev/ruby/bridal/config/../lib/sane-0.1.4/lib/enumerable-extra.rb:12:in `+’
C:/dev/ruby/bridal/config/../lib/sane-0.1.4/lib/enumerable-extra.rb:12:in `sum’
C:/dev/ruby/bridal/config/../lib/sane-0.1.4/lib/enumerable-extra.rb:12:in `each’
C:/dev/ruby/bridal/config/../lib/sane-0.1.4/lib/enumerable-extra.rb:12:in `sum’
C:/dev/ruby/bridal/vendor/rails/actionpack/lib/action_controller/layout.rb:189:in `layout_list’

means “you can’t use enumerable extra’s ‘sum’ method within a rails app it croaks”

how to use nslookup

Filed under: Uncategorized — rogerdpack @ 8:08 pm

works in windows, too
C:\> nslookup
> set q=all
> thomasknoell.com
Server: host-80-173.ldschurch.orem
Address: 10.52.80.173

Non-authoritative answer:
thomasknoell.com internet address = 66.246.138.39
thomasknoell.com nameserver = ns2.bluehost.com
thomasknoell.com nameserver = ns1.bluehost.com

thomasknoell.com nameserver = ns1.bluehost.com
thomasknoell.com nameserver = ns2.bluehost.com
ns1.bluehost.com internet address = 74.220.195.31
ns2.bluehost.com internet address = 69.89.16.4

cygwin ruby woe

Filed under: Uncategorized — rogerdpack @ 1:53 pm

/usr/lib/ruby/1.8/i386-cygwin/zlib.so: No such file or directory – /usr/lib/ruby/1.8/i386-cygwin/zlib.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’
from /usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:10
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’

meant “somehow zlib for ruby isn’t installed–install pure ruby zlib”

rails woe

Filed under: Uncategorized — rogerdpack @ 12:42 am

C:\dev\ruby\bridal2>rake substruct:db:bootstrap
(in C:/dev/ruby/bridal2)
in bootstrap
mkdir -p C:/dev/ruby/bridal2/log
Checking requirements…
Initializing database…
[SUBSTRUCT WARNING]
Mail server settings have not been initialized.
Check to make sure they’ve been set in the admin panel.
rake aborted!
no such file to load — db/schema.rb

(See full trace by running task with –trace)

meant “check if you have a db directory at all–your previous call to rake db:create may have actually saved db/schema.rb as the file named db for some reason–if you don’t have a db directory [as a directory] then create it”

ruby pik woe

Filed under: Uncategorized — rogerdpack @ 12:33 am

C:\dev\blade_copy\digitalarchive_trunk>pik switch 186 ming

c:/ruby/lib/ruby/gems/1.9.1/gems/vertiginous-pik-0.0.3/lib/pik/runner.rb:155:in `[]‘: can’t convert Symbol into Integer (TypeError)
from c:/ruby/lib/ruby/gems/1.9.1/gems/vertiginous-pik-0.0.3/lib/pik/runner.rb:155:in `switch_path_to’
from c:/ruby/lib/ruby/gems/1.9.1/gems/vertiginous-pik-0.0.3/lib/pik/runner.rb:127:in `switch’
from c:/ruby/lib/ruby/gems/1.9.1/gems/vertiginous-pik-0.0.3/lib/pik/runner.rb:42:in `execute’
from c:/ruby/lib/ruby/gems/1.9.1/gems/vertiginous-pik-0.0.3/lib/pik/runner.rb:9:in `execute’
from c:/ruby/lib/ruby/gems/1.9.1/gems/vertiginous-pik-0.0.3/bin/pik:20:in `
from c:/ruby/bin/pik:19:in `load’
from c:/ruby/bin/pik:19:in `


C:\dev\blade_copy\digitalarchive_trunk>pik -v

meant “nuke your %HOMEPATH%/.pik directory–it’s become corrupted somehow, possibly by running two commands at once”

August 20, 2009

utah change driver’s license address online

Filed under: Uncategorized — rogerdpack @ 8:03 pm

Looks like you can change your driver’s license address online

https://secure.utah.gov/dlr/addressinstruction.html

go through the steps and click “renew” (or something like that) then you can enter a new address after that.
-r

ruby google voice

Filed under: Uncategorized — rogerdpack @ 5:20 pm

appears there’s been some work toward a ruby lib for it.

http://74.125.155.132/search?q=cache:4gYqwPvnS5cJ:github.com/skalnik/gvoice/tree/master+site:github.com+github+google+voice&cd=11&hl=en&ct=clnk&gl=us

But not much. Anybody else have anything out there?
-r

svn cannot find cygz.dll

Filed under: Uncategorized — rogerdpack @ 1:52 pm

this means “somehow your cygwin install of svn was interrupted prematurely–reinstall svn or install the subversion “binaries” from the main site [the windows native ones].

« Newer PostsOlder Posts »

Powered by WordPress