I ran dbh.quote() on this line:
/home/jaresty/
and it resulted in this line:
/home/jaresty/
which is not properly escaped for insertion in MySQL.
I am using ruby version ruby 1.6.7 (2002-03-19)
[i386-linux], ruby dbi version 0.0.15, and mysql-ruby
2.4.2a.