Workling doesn't seem to pick up the arguments correctly, and always
tries to use the development environment. We fixed this by adding the
following block to the beginning of the workling_client script
ARGV.each do |arg|
key = arg.split('=').first
value = arg.split('=').last
ENV[key]=value
end
Hope this helps
~Phi
On Mar 4, 6:48 pm, lardawge <[email protected]> wrote:
> I have god setup to start on boot via init file... it starts
> starling... wont fire up workling, get these errors:
>
> *** below you find the most recent exception thrown, this will be
> likely (but not certainly) the exception that made the application
> exit abnormally ***
> #<Mysql::Error: Can't connect to local MySQL server through socket '/
> var/run/mysqld/mysqld.sock' (2)>
> *** below you find all exception objects found in memory, some of them
> may have been thrown in your application, others may just be in memory
> because they are standard exceptions ***
> #<NoMemoryError: failed to allocate memory>
> #<SystemStackError: stack level too deep>
> #<fatal: exception reentered>
> #<LoadError: no such file to load -- rubygems/defaults/
> operating_system>
> #<LoadError: no such file to load -- daemons>
> #<Mysql::Error: Can't connect to local MySQL server through socket '/
> var/run/mysqld/mysqld.sock' (2)>
> #<Mysql::Error: Can't connect to local MySQL server through socket '/
> var/run/mysqld/mysqld.sock' (2)>
>
> If I then restart god it works fine. Suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---