Articles from October 2007
Posted by codethought on October 20, 2007
My friend Lori noted a great way to Add to the Ruby Library Path. She also noted that I had no way to put comments on my blog. Users would get sent to a page telling them to log in, but I never provided the login link
Fixed — check out the “Links” section [...]
Categories: Programming, Ruby |
1 Comment »
Posted by codethought on October 20, 2007
In Ruby not library management is not always as simple as running gem install.
Some Ruby code is distributed simply as libraries. So where do you put these libraries? The clue is
in the Ruby $LOAD_PATH variable.
irb(main):001:0> puts $LOAD_PATH
/usr/local/lib/ruby/site_ruby/1.8
/usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1
/usr/local/lib/ruby/site_ruby
/usr/local/lib/ruby/1.8
/usr/local/lib/ruby/1.8/i686-darwin8.10.1
.
=> nil
irb(main):002:0>
This tells you that you can put your library code in any of the [...]
Categories: Programming, Ruby |
No Comments »
Posted by codethought on October 9, 2007
I just saw on the Codegear Ruby newsgroups that a vulnerability on the net/https
library was reported. Basically the library doesn’t validate the server certificate
CN (Common Name).
You can read the details here:
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt
Patches have been done for Ruby to accommodate this and you can download them from here:
http://www.ruby-lang.org/en/news/2007/10/04/net-https-vulnerability/
Categories: Programming, Ruby |
No Comments »