Does anyone know what causes the “Invalid Data Source Name” exception? I
get this from OptionParser. Here’s my code:
opts = OptionParser.new
opts.on(‘–load-file FILE’) do |file|
end
my guess is that the exception is coming from your mysterious , since I can’t recreate the behavior no matter
what filename I pass, even an invalid one.
Thanks for responding. Actually, I’m an idiot and wasn’t passing
“DB:PG:”
along with the name of my database. You are correct in that the problem
was
in my " section of the code. Sorry for the
useless
post!!! – BTR
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.