First  |  Prev |  Next  |  Last
Pages: 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
[QUIZ] URL Shenanigans (#220)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this message was sent. 2. Support Ruby Quiz by submitting ideas and responses as often as yo... 13 Sep 2009 21:39
populating a hash from an array using inject
I was looking at this problem on Stack Overflow (this one: http://stackoverflow.com/questions/1405657/reorganizing-ruby-array-into-hash The question is how to "convert" an array of objects into a hash. Consider this code: require 'pp' p RUBY_VERSION Product = Struct.new(:name, :category) ... 11 Sep 2009 18:30
iconv "\n" (Iconv::InvalidCharacter)
I have following tab delimited ucs-2le input file ucs2le_sample.txt: Job Title Second case "EVP; COO, DIGITAL TV" "ESPTA TÉCNICO ""B""" there are 2 columns (Job Title, Second case) internally in Ruby: irb(main):001:0> File.open("ucs2le_sample.txt","r").each do |line| irb(main):002:1* p line irb(main):003:... 8 Sep 2009 09:10
FasterCSV (faster_csv) and Question of understanding
Dot Baiki wrote: Dear Experts, I got a question for you: I need to produce a Ruby code which does the following: 1. I get a CSV file (more or less like this: name,id,in,out,ot,ab,x1,x2,x3,x4) 2. I need to remove some columns (like the x1..x3) 3. I need to group them per user (in this case eit... 10 Sep 2009 10:13
Can't do "gem update --system" - libcrypto.so.4: cannot open sharedobject file: No such file or directory -/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError)
Hi, I've update the software on my linux box ( v4 to v5.0 http://clarkconnect.com/ ) upgrade something has gone screwy with my Ruby installation on the machine. Any ideas? My ruby/rails installation was working fine until I did the Linux update. Gem Update Affected (not that the 'md5.so' is actually there in... 7 Sep 2009 03:24
ruby2exe
I am getting this error C:/DOCUME~1/RAVEEN~1/LOCALS~1/Temp/tar2rubyscript.d.3048.1/rubyscript2exe/require2lib.rb:60:in `gat herlibs': undefined method `list' for Gem::Specification:Class (NoMethodError) from C:/DOCUME~1/RAVEEN~1/LOCALS~1/Temp/tar2rubyscript.d.3048.1/rubyscript2exe/require2lib. rb:30... 10 Sep 2009 02:31
JSpec command line run command doesn't work
Hi. I've just installed the JSpec* gem and trying to run some test suites. When I type: jspec run jspec run --browsers ff jspec run --browsers ff --server I receive the next warning and an error report: <gem_dir>/gems/visionmedia-commander-3.2.9/lib/commander/blank.rb:5: warning: undefining `o... 3 Sep 2009 22:53
Resolv not working after a while?
[Note: parts of this message were removed to make it a legal post.] Hello, I'm using the resolv standard library. After resolving several names, it stops working. The resolver simply hangs and does not provide a result. I'm still trying to isolate the problem, but has anyone else experienced this? ... 5 Sep 2009 13:10
Problems with cross-thread violation
Eleanor McHugh wrote: On 2 Sep 2009, at 05:55, Gin Mendi wrote: Is there an approach I can use to solve this problem or do I just simply give up and use something else. I'm hoping some of the gurus here can give me some information on what I can do. Do you have code available that we can stu... 8 Sep 2009 23:45
ruby-debug19 0.11.6 released
Fixes: * breakpoints will work in threads created after the breakpoint is set * line numbers corrected for code in {} blocks Enhancements: * "jump" command added; allows you to change the next statement to be executed, even if it's in a different frame. "help jump" in rdebug for usage. -- Posted via http://w... 3 Sep 2009 07:30
First  |  Prev |  Next  |  Last
Pages: 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192