Should make notes in places that the CLI works relative to the current directory and that absolute paths are needed. Also document the rake task that will allow people to automate the upload.
9:55 Hmmm, it's turns out you have to give it the full path...
9:57 can you explain how you're running it so we can understand how to adjust the documentation?
9:57 I'm working ruby 1.9 in using the _ng gem. I've created a worker and a ruby file, located in in a relative subdirectory of app/workers/*
9:59 I did JUST get it upload once I put the relative path the workfile... apparently it doesn't magically go out an find it in a subdirectory.
10:00 ok. so with the cli you were running that in app directory and not in the worker directory. right?
uploading from the app directory.
10:00 Yep, the app directory
@ErichTimkar yeah, all paths are relative to cwd
so if you want to automate that, i'd recommend a rake taks that chdirs into the app/worker dir and does what you need
there is a third option, which isn't as "official"
at the top of your .worker file, you can put Dir.chdir(File.dirname(FILE))
that will change all further relative paths to be relative to the directory the worker file is in
(not sure we want to document/recommend the third/unofficial option)
Removing my assignment.