Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: hypersonic on October 11, 2011, 11:22:12 PM
-
So. I've loaded ruby.tcz and ruby-dev.tcz, and installed rails with "gem install rails". For persistence, I've included lines: "/usr/local/bin" and "/usr/local/lib/ruby" to /opt/.filetools.lst. But something strange happens, the backup is missing a folder inside ruby directory: "/usr/local/lib/ruby/gems/1.8/gems/activesupport-3.1.1/lib/active_support/cache". I've tried include this path to .filetools.lst, but without sucess. What can be wrong?
-
I've renamed folder cache to 'file', and it's saved. But with name 'cache' I can't save.
-
And I've changed folder(cache) location inside ruby folder, and now I can't save the file. Maybe something to do with the folder name?
-
Hi hypersonic
The file /opt/.xfiletool.lst lists cache among the things to exclude. That entries in that file over-ride
those listed in /opt/.filetool.lst.
-
Thanks. I removed 'cache' from .xfiletools.lst.
-
Hi hypersonic
If you have a browser, you may want to add the path to it's cache back in. Same for any other app
that may create a large cache file or directory.
-
Ok. I used "find / -iname cache" to see all directories named 'cache' , chose some and add to xfiletools.lst. Thanks
-
I don't know if it's important, but the directory "/usr/local/lib/ruby/gems/1.8/gems/active/usr/local/lib/ruby/gems/1.8/gems/active_support/cache" in Rails is not only to store temporary files, it's for Rails Caching:
http://guides.rubyonrails.org/caching_with_rails.html (http://guides.rubyonrails.org/caching_with_rails.html)