Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: hypersonic on October 12, 2011, 12:36:29 PM
-
With bootcodes I can make home, tce and opt persistents. Can I make /usr/local/lib/ruby persistence, without use .filetool.lst? (My backup is a little slow).
-
Store your ruby on the drive and create a symlink in bootlocal.sh.
-
Don't work. Command 'rails -v' returns 'missing rubygems'. I think paths reference of ruby / rails don't change with symlink.
-
if the solution can interest someone:
In /home/tc directory:
$ mkdir -p rails/ext/usr/local/lib
$ sudo su
# cp -R /usr/local/lib/ruby /home/tc/rails/ext/usr/local/lib/
# cd /home/tc/rails
# mksquashfs ext/ rails.tcz
Then load rails.tcz OnBoot using AppsAudit.
Remove backup file of .filetool.lst ... (not filetool.sh, okay?)
Reboot
That's it. Oh... I forget wiki source: http://wiki.tinycorelinux.net/wiki:extension_for_settings (http://wiki.tinycorelinux.net/wiki:extension_for_settings)
-
Remembering its only works when you do not change the ruby folder (for example when you install a plugin).