Closed shawnpyle closed 9 years ago
Thanks a lot for your effort. I have not much time at the moment. I try to look on it in the next weeks.
No worries. Thanks for considering. On Nov 13, 2014 2:32 PM, "janfri" notifications@github.com wrote:
Thanks a lot for your effort. I have not much time at the moment. I hope to have a look on it in the next weeks.
— Reply to this email directly or view it on GitHub https://github.com/janfri/mini_exiftool/pull/21#issuecomment-62951665.
It is not a good idea to change the complete path to the PStore file because if you install a newer version of exiftool you use an outdated version of the PStore file (the exiftool version is coded into the basename of the file).
Therefore in my solution I have added the possibility to change the directory (not the complete path) where mini_exiftool stores the PStore files.
MiniExiftool.pstore_dir = 'path/to/my/pstore/dir'
The changes are included in mini_exiftool version 2.5.0.
I don't need a gemspec file because I use rim for all my needs of project management, from spell checking to releasing. :-)
Btw: mini_exiftool is licensed under the LGPL. If you want to use your own fork / your own gemspec it has to be also licensed under the LGPL.
I hope this help you. Best regards.
Thanks for this useful project!
This should allow setting of a custom path for the pstore file. Using this with Rails was problematic due to the fact that the file was placed in the home directory of a user and not accessible by other users.
I also added a gemspec so I could install it via Gemfile. Out of curiosity, how are you publishing this as a gem without a gemspec?