This bug pertains to the yaml_db gem version 0.2.2.
Using the dump_dir method attempts to create a new folder using the current
timestamp when no directory name is passed in.
However, this generates an invalid filename because of the ":" delimiter in
the time-of-day:
>> rake db:data:dump_dir
Invalid argument - C:/project/db/2012-04-08_11:55:21_-0700
This bug can be fixed by changing
/yaml_db-0.2.2/lib/tasks/yaml_db_tasks.rake, line 27 from:
dir = ENV['dir'] || "#{Time.now.to_s.gsub(/ /, '_')}"
to:
dir = ENV['dir'] || "#{Time.now.to_s.gsub(/ /, '_').gsub(/:/,'.')}"
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/heroku/-/M_Gu0a9afUIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.