First  |  Prev |  Next  |  Last
Pages: 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
gems not loading on mac 10.5.6
Hi, It seems like my gems are not being loaded, i.e. when i require a gem i get an error "no such file to load.." I still get this error even if i do: $LOAD_PATH << "/Library/Ruby/Gems/1.8/gems" require 'ruby-debug' This is happening for all of the gems i have installed. env: mac os x 10.5.6 ruby 1.8... 8 Apr 2010 12:33
Populate lat/lon data from street address with dm-geokit
I using dm-geokit ( in a Sinatra application. I want to populate missing fields (lat/lon) from provided information like If I provide full street address I want to Geocode and populate lat/lon when I call save on Datamapper object. Would appreciate any help :) -- Posted... 8 Apr 2010 10:55
ru'id ramblings/ravings
I have thought of a simple way to communicate about this to demonstrate the fascinating potential role of Mathimatica: The author has demonstration (full) that has these parts SwarmCaster screen1 screenn SwarmReader from an email to Stephan Wolfram the "ru'id" (which are Boid l... 8 Apr 2010 09:27
how to use ri in my computer?
pt(a)pt-laptop:~$ ri Integer#times /usr/local/ruby/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `initialize': Permission denied - /home/pt/.ri/cache/.doc_dirs (Errno::EACCES) from /usr/local/ruby/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `open' from /usr/local/ruby/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `create_class_cach... 9 Apr 2010 23:23
HTTPClient::ReceiveTimeoutError: execution expired
I am trying to initiate HTTP communication using ::SOAP::RPC::Driver but getting below error. Its not consistent. Sometimes it fails, sometimes goes through. ================ #<HTTPClient::ReceiveTimeoutError: execution expired> /usr/local/lib/ruby/gems/1.8/gems/httpclient- 8 Apr 2010 02:53
Hpricot inner_html
Have the below xml <metas> <Meta name="date"> <MetaString name="value">test</MetaString> </Meta> <Meta name="url"> <MetaString name="value">test1</MetaString> </Meta> <Meta name="job"> <MetaString name="value">testdata</MetaString> </Meta> <Meta name="url"> <MetaString name="value">21546</MetaString> </M... 8 Apr 2010 01:48
Hash name increment on iteration?
Is it possible to add to the name of a hash while running through an iteration? What I'm trying to achieve: SomeArray.each do |i, name, content| info[i+1] = { "name" => name, "content" => content } end So that I can call, for example info[1] [name] or info[5][content]... ... 11 Apr 2010 23:25
win32ole question
[Note: parts of this message were removed to make it a legal post.] I have a 3rd party COM library, and this works in VBScript: Set foo = CreateObject("Foo") foo.Fields("FieldA") = 5 foo.Fields("FieldB") = "bar" WScript.Echo foo.Fields("FieldA") WScript.Echo foo.Fields("FieldB") but I can't get the assi... 7 Apr 2010 21:24
Is it possible, a fully general Enumerable#recursive ?
For the last couple of days I've been trying to write an Enumerable method called #recursive. Rather than create a bunch of methods like #recursive_each, #recursive_map, #recursive_sort, etc. I figured that it should be possible to create a single #recursive method that returned an Enumerator, or barring that a Fun... 17 Apr 2010 07:28
what is the meaning of \A and \Z
It is said that \A matches the beginning of the string and \Z matches the end of the string. I am not sure what means. -- Posted via ... 7 Apr 2010 15:45
First  |  Prev |  Next  |  Last
Pages: 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138