Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Learn Tiny Core. View Tiny Core
Screen Shots and Videos
.
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Talk
»
Ruby on Rails Persistence
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Ruby on Rails Persistence (Read 2175 times)
hypersonic
Guest
Ruby on Rails Persistence
«
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).
«
Last Edit: October 12, 2011, 12:39:13 PM by hypersonic
»
Logged
gerald_clark
TinyCore Moderator
Hero Member
Posts: 4254
Re: Ruby on Rails Persistence
«
Reply #1 on:
October 12, 2011, 12:48:22 PM »
Store your ruby on the drive and create a symlink in bootlocal.sh.
Logged
hypersonic
Guest
Re: Ruby on Rails Persistence
«
Reply #2 on:
October 12, 2011, 04:01:17 PM »
Don't work. Command 'rails -v' returns 'missing rubygems'. I think paths reference of ruby / rails don't change with symlink.
Logged
hypersonic
Guest
Re: Ruby on Rails Persistence
«
Reply #3 on:
October 19, 2011, 06:49:32 PM »
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
«
Last Edit: October 19, 2011, 06:51:22 PM by hypersonic
»
Logged
hypersonic
Guest
Re: Ruby on Rails Persistence
«
Reply #4 on:
October 19, 2011, 06:53:56 PM »
Remembering its only works when you do not change the ruby folder (for example when you install a plugin).
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Talk
»
Ruby on Rails Persistence