Displaying 20 results from an estimated 40000 matches similar to: "mongrel_rails logger"
2009 Nov 21
3
Using mongrel_rails: Can't install Redmine as win2003 service
Hello everyone.
After stugging 3+ hours installing redmine I got success but still
can''t install redmine as service (windows 2003).
So here is my problem. I successfully installed redmine and mapped it
to mysql, created database and initialized it with default values.
Last thing I''m trying to do is to install it as service on windows
2003, and for this I''m running in
2010 Jan 25
1
mongrel_rails unable to start (cant find rubygems)
I am currently nearing the end (hopefully) of a ruby versions nightmare
on OSX...
I ended up installing rubygems again. However one of my remaining
problems is I am unable to start mongrel due to this error:
/usr/bin/mongrel_rails:9:in `require'': no such file to load -- rubygems
(LoadError)
from /usr/bin/mongrel_rails:9
I have searched around but cant find any clues about this.
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/
server and with mongrel_rails start.
When I run script/server to boot mongrel everything runs fine, no
errors.
When I run mongrel_rails start I get the following errors - verified
the problem on a fresh app and on two different environments (mac and
yes, windows server 2008). The actual line of fault changes but the
problem
2006 Jul 21
1
mongrel_rails production vs development mode
I am migrating from mongrel_rails in development mode to production
mode. I have a number of debugging statements based on "puts" in my code
that emit info that I see scroll by when mongrel_rails is not daemonized
and running in development mode.
In daemonized production mode what happens to the output from these
statements? I have looked into all the logs, and while I see the
2007 Feb 15
2
Multiple Processes Spawned from mongrel_rails start ?
Hello,
I have mongrel 1.0.1, rails 1.2.2 ruby 1.8.5 running on Centos 4.4.
When I execute the mongrel_rails start -d I see that 3 processes are spawned. See below:
[root at ccc aaa]# mongrel_rails start -d
[root at ccc aaa]# ps -def |grep mong
root 2743 1 9 07:14 ? 00:00:01 /usr/bin/ruby /usr/bin/mongrel_rails start -d
root 2744 2743 0 07:14 ? 00:00:00
2007 Jul 16
2
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody,
I have installed mongrel and mongrel cluster in a new linux box .... at the
end of the day I was able to lunch mongrel (mongrel_rails start -e
production) and all is working fine with.
However, when I tried to set a mongrel cluster the command mongrel_rails
cluster::start get the following output :
starting port 8000
starting port 8001
starting port 8002
But when I lunched the
2010 Apr 15
1
Using Rails.Logger in a gem in Rails 3beta3
Hi fellows!
I want to use the Rails.logger in my gem. I try the following code in
my main gem-file.
require ''rails/logger''
puts "init1"
::Rails.logger.info("hi")
puts "init2"
The funny thing is: It even don''t give me the output of puts in the
stdout of the server!
But if I remove the call to Rails.logger the puts are displayed in the
2011 Mar 03
4
Mongrel starting Error
Hello friends!
When i tried to start my server arising this error, currently i using rails
2.3.2. If any one know what is reason suggestion me.
$ mongrel_rails start
!!! Path to log file not valid: log/mongrel.log
mongrel::start reported an error. Use mongrel_rails mongrel::start -h to get
help
Thanks & Regards,
Dhamodharan.N
--
You received this message because you are subscribed to
2007 Jul 16
1
mongrel_rails start working mongrel_rails
Thanks Bill for the answer !
In fact, my application is working well with webrick and also with a
single mongrel instance lunched via
the command : mongrel_rails start
When I check what is the difference in the gem loaded in both cases
(mongrel_rails start and
mongrel_rails cluster::start) it seems that mongrel_rails
cluster::start does not load all the gems that the first command is
loading.
So
2006 Jun 16
15
Mongrel_rails restart and sudo
Sorry for the newbie question but I''m stumped:
I have an app that requires sudo to run mongrel_rails. For my capistrano
recipe is do it like this:
sudo "mongrel_rails start -e production -p #{application_port} -d -c
#{current_path}"
Which works famously.
Now I have tried several things for my restart task. Here they are:
sudo "cd #{current_path} && sudo
2006 May 30
1
Error in mongrel_rails script with Cygwin/Mongrel/Rails
Hi,
I am experiencing an error in the mongrel_rails script on a pc under
cygwin/mongrel/rails. My installation details and error are as follows:
With some guidance from various blogposts out there, I installed Cygwin
on a Windows XP box followed by:
Ruby 1.8.4(via cygwin setup),
Gems (0.8.1 via ruby install.rb),
Mongrel .3.12.4 (via gems),
Rake 0.7.1(via gems,
GemPlugin (via gems),
Rails (via
2006 Jun 21
2
mongrel_rails restart not working
Hi,
On os x.3.9, with ruby 1.8.4 installed through darwinports and mongrel
through gems,
everything works until I restart:
mongrel_rails restart
adds the logs:
** USR2 signal received.
** Restarting with arguments: ruby
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails
start -p 3001 -d
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails:134:
in
2008 Jan 28
8
mongrel_rails not starting
Hi,
Im a newbie to ruby and rails. I installed mongrel using the command:
sudo gem install mongrel --include-dependencies
When i try to start mongrel with
mongrel_rails start -d, its throwing the same error as it did to you:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'': no such file to load -- http11 (LoadError)
from
2011 Dec 15
1
problem with starting mongrel gem
Hi,
I have installed mongrel gem and when i tried to start
mongrel_rails start its causing me following problem
mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Requiring REXML
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.10/lib/
active_support/dependencies.rb:239:in `require'': no such file to load
--
2009 Apr 29
3
Mongrel_rails will not autostart
Hi,
I''m running a ubuntu 8.04.2 LTS server. Using ruby 1.8.6 and Rails 2.0.2
I added the mongrel_rails start -d -c /app/ to the /etc/rc.local
sofar so good..
Mongrel will start but will log
Missing the rails 2.0.2 gem. Please ''gem install -v=2.0.2 .....
and then terminate
When I log onto the the console I can start mongrel_rails and it will
locate the right gems
any ideas
2012 Oct 05
1
Is Rails Logger Thread Safe?
Is Rails Logger truly not Thread Safe?
http://log.kares.org/2011/04/railslogger-is-not-threadsafe.html
This seems like an issue that should have been picked up quite a long time
ago. I just set config.threadsafe! in my config/application.rb and my log
output from rails server has completely disappeared.
If the logger is not thread-safe, I cannot help but wonder how much of the
Rails core is
2007 Oct 11
9
mongrel_rails not starting
os x 10.4.10
used gem to install mongrel 1.0.1. seemed to go w/o errors.
"mongrel_rails start -d" spits out this error
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/http11.bundle:
Failed to load
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/http11.bundle
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require''
2010 Jan 18
5
Re: puts & logger ... flush immediately
Marnen Laibow-Koser wrote:
> Ralph Shnelvar wrote:
>> newbie here ...
>>
>> I am tracing logic putting puts and logger.info calls in my code.
>>
>> I _think_ Rails is buffering output so that I can''t see what happens
>> until I close out webrick.
>
> But you are probably wrong. If you watch the log scroll by, you will
> generally see
2007 Sep 10
12
mongrel_rails service on windows incompatible with recent ruby builds?
i was suffering from a massive memory leak in my application. after
searching and testing for quite a while i finally found that it wasn''t
my app that had a leak but the win32ole support that was used by the
ADO driver in sqlserver adapter.
the solution to fix the leak was to install ruby 1.8.5p52 or 1.8.6p36
but sadly as soon i install one of the fixed releases mongrel won''t
2007 Sep 17
2
mongrel_rails hang and does not respond
Hello,
I''ve install ror/mongrel etc, etc on a linux server (rhes).
As i''m not root, all package startinf from ruby have been install into
~/gconf/usr
ruby-1.8.6
and all of this gem package:
-r-xr--r-- 1 dimnce dba 168448 Aug 9 14:53 rails-1.2.3.gem
-r-xr--r-- 1 dimnce dba 84480 Aug 9 14:56 rake-0.7.3.gem
-r-xr--r-- 1 dimnce dba 217088