Displaying 10 results from an estimated 10 matches for "freebasic".
2006 May 22
9
win32/service... still with problems.
Hello list,
In my quest to get Mongrel working as service for win32, found some
problems with win32/service that make it impossible to solve.
Attached is the simplest service script I could do with ruby, which
depends on win32/service.
I found that doing anything complex in service_stop (killing threads,
doing file handling, even sleeping for 0.25 seconds). crash the
service with backtraces (of
2006 Nov 24
3
Mongrel Service 0.3.0, native services for you!
...nd its *crazy* behavior related to standard
mongrel_rails.
Job made this more slow than usual, but here we are: a beta release.
* What''s New?
- This version of mongrel_service replaces mongrel_service ruby script
with a binary, pre-built executable coded using ServiceFB framework
[1] in FreeBASIC.
- The "change" will be transparent for you, you only need to
remove/install the service again and you''re done. The binary will be
copied/updated automatically for you. This works with any
mongrel_rails version installed.
- With this we are trying to solve:
a) weird problems...
2008 Jun 04
12
Mongrel as Windows service with normal privileges
I am trying to run Mongrel 1.1.5 with mongrel_service 0.3.4 on Ruby
1.8.6 with a "normal" user account, i.e. a user which belongs only to
the Windows group "Users". The rationale behind this is that running a
web server with full administrative rights (e.g. Local System) is not
something that I would like to do.
Unfortunately, starting the service from the services control
2007 Mar 26
16
mongrel_service fails to get "service.exe" from ppid?
Konnichiwa Mongrel users,
mongrel_service cannot run as a windows service under my environment,
with the windows message :
"error 1053 : The service did not respond to the start or control
request in a timely fashion."
>From a part of "ServiceFB.log" at c:/ruby/bin,
mongrel_service failed to get the process name of "service.exe".
2006 May 12
0
win32-process 0.4.0 - SIGINT/SIGBRK not working
...Process.kill("SIGINT", 3380)
=> []
It only work when doing SIGKILL, something isn''t graceful for the child process.
Diggin a bit, GenerateConsoleCtrlEvent always return 0, but if you
check GetLastError, was 87: Error: 87
The parameter is incorrect.
I do the same call from FreeBASIC to check it, passed the right PID
form the running ruby process, and that was the result.
According to MSDN docs, you only could send the
GenerateConsoleCtrlEvent to descent process created with the
CREATE_NEW_PROCESS_GROUP
Please see the documentation here:
http://msdn.microsoft.com/library/def...
2008 Jan 02
1
Deploying merb as a windows service
Hey All
I was just wondering if anyone had tried deploying merb as a windows
service? I am familiar with the sc.exe tool ( http://support.microsoft.com/kb/251192
) - do you think adding the correct paths and such to the merb bin
will work? I am going to try this tomorrow but wondered what peoples
thoughts were?
Many thanks
Tim
2015 Jun 17
1
Improving string concatenation
Just to clarify, primitive (C-level) generics do not support dispatch
on basic classes (like character). This is for performance (no need to
consider dispatch on non-objects) and for sanity (in general,
redefining fundamental behaviors is dangerous). It is of course
possible to define a "+" method with a signature containing a class
not in the set of basic classes.
On Tue, Jun 16, 2015
2006 Jan 27
27
Preferred Ruby Editor/IDE for OS X?
Just a quick question, if I were tired of typing ruby into a terminal
editor, say I wanted, oh, a scroll bar, mouse support, and maybe
syntax highlighting? Anyone know os a good Ruby/Rails editor or IDE,
one that runs on OS X, possibly in Java?
-Josh
-----------
Due to the recent increase in spam and falsely sent email, I now PGP
Sign all of my outgoing mail to prove my identity. This
2005 Feb 09
85
Introduce yourself and your project -- Round 2
On December 14th, 2004 David Heinemeier Hansson sent this to the mailing
list:
I''m seeing a lot of new names on the list. Could
we perhaps do a round of introductions? That would
also be a great first post, if you haven''t had a
chance to contribute yet. The basics should include
your name, your organization, your country and city,
and the project you''re
2007 Dec 25
30
Review of Code for 1.9
Hello Guys,
I''m reviewing the code for 1.9, and forgot about this when we first
spoke on this subject.
The current way we stop threads is using Thread#raise to spread
StopServer exception, which will not work as expected in 1.9.
1.9 will treat raised exceptions as #kill, like JRuby does, so the
worker threads will not finish serving the client and _then_ exiting,
but will be