Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: emninger on November 16, 2015, 02:23:41 AM
-
Since recent (after i tried to start automatically acpid - for laptopmode-tools) i see on the console this error msg:
env: can't execute ruby: No such file or directory
From logic i'd presume some program tries to start/needs ruby but does not find it. BUT: Ruby 2.0 is included in the onboot.list! Eventually, there is a timing problem of the kind, one program starts but its dependency is still not started? And if so, how can i found out how?
In any case:
After that line there are the following prompts:
acpid: starting up with netlink and the input layer
acpid 3 rules loaded
acpid: waiting for events: event logging off
After typing in login name & pswd, i get this (on the console):
acpid: 1 client rule loaded
What i did (before the ruby msg came up):
I tried to change the setup to have acpid started on boot. In /opt/bootlocal.sh i inserted simply the statement acpid
. Is that the correct way, or should i configure something in /etc/init.d ?
And i configured /usr/local/etc/laptop-mode/laptop-mode.conf accordingly (and after i included this file into the backup list).
May be someone here has an idea (?) TIA!
-
Answering to myself:
Doing some research i found out, what the ruby related statement caused:
In bootlocal.sh i activate (or better: try to ;) ) bsfilter, which is a ruby script. The first line is:
#! /usr/bin/env ruby
Obviously, ruby is not enabled and so, bsfilter fails to start. I presume, i'll need to enable ruby in my variables. But how? Thanks in advance!
-
Someone here knows, what the ruby*.tcz files does?
In installed them onboot, but safe the doc files, there is no sign of ruby nowhere in the filesystem. Not even in the /tmp/tcloop :o
-
You're probably doing something wrong then. For me it loads fine.
/tmp/tcloop/ruby-2.2/usr/local/bin/ruby
If the file /etc/sysconfig/tcedir/copy2fs.flg does exist, then the contents of the extension have been copied to the filesystem in RAM and /tmp/tcloop/ would be empty.
I.e. you should have this
/usr/local/bin/ruby
in any case.
-
Install "it" not "them".
Don't install more than one version.
-
You're probably doing something wrong then. For me it loads fine.
/tmp/tcloop/ruby-2.2/usr/local/bin/ruby
If the file /etc/sysconfig/tcedir/copy2fs.flg does exist, then the contents of the extension have been copied to the filesystem in RAM and /tmp/tcloop/ would be empty.
I.e. you should have this
/usr/local/bin/ruby
in any case.
/usr/local/tce.installed/rubyxxx
must exist also.
-
Install "it" not "them".
Don't install more than one version.
That was it! Thanks a lot! I de-installed all and went then for the latest (2.2). Now it works fine!