Displaying 20 results from an estimated 3000 matches similar to: "Installing mongrel for Rails 3 app?"
2010 Feb 05
2
Edge Rails 3: Mongrel stuck in infinite loop, Unicorn missing uninitialized constant Rack::Runtime
Hi,
I wanted to try out Edge Rails 3 today and hit a serious problem
trying to run mongrel.
script/rails server mongrel just hangs. Interrupting and looking up
the spot of the lockup revealed
$LOAD_PATH.unshift ''projects/mongrel_experimental/lib/''
Mongrel::Gems.require ''mongrel_experimental'',
">=#{Mongrel::Const::MONGREL_VERSION}"
at the bottom
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
Hi all,
I''m wondering about my sanity here. There''s probably something simple I
overlooked. First off, I have close to zero experience with Merb.
1. I configured use_orm :activerecord in config/dependencies.rb;
2. I have a file named app/models/measurement.rb which looks like this:
class Measurement < Observation
end
3. I have another file named
2007 Nov 23
6
Fresh install on Debian Etch - Mongrel immediately hangs
Hi,
I just did a clean install of
Ruby 1.8.5
Rubygems 0.9.0
and the Mongrel and Mongrel_Cluster gems.
I used only the Debian Etch package manager, nothing compiled myself.
Now, on a testapp when I do a script/server, I get the:
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
warning. But it''s not serving my app. Ruby is immediately on 100% CPU
load (and 0.7%
2007 Dec 11
6
Mongrel install problem
Hi,
I''m having difficulties getting mongrel running on my Debian Etch
machine. It seems to install and is listed with my other gems, but
things like...
"mongrel_rails start ..."
... are not recognised.
Perhaps this is something to do with the file "lib" not being found in
the install process:
ruby extconf.rb install mongrel --include-dependencies
checking for main()
2009 Jun 23
1
ERROR: Error installing mongrel:
Hi,
I am getting some problem while installing mongrel on GoDaddy(fedora)
server.
Env is ::
[root at ip-97-74-86-181 bin]# gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.4
- RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [i386-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2
mongrels to start up reliably.
This should be a pretty simple cluster, with just 2 instances running. My
mongrel config (mongrel_cluster.yml) looks like:
cwd: /deployment/installed/myapp/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file:
2007 Sep 23
1
Newbie confusion.
Hello,
I am new to Rails and the Linux world coming from 12 years of advanced VB
programming. I am writing to try and clear up some confusion on my part
about installing Mongrel.
Please don''t take this as a rant, I do appreciate the effort that y''all put
into the community, but as a newbie, I was, and still am confused.
I want to learn about Mongrel, so it found
2011 Apr 20
6
rake db:create fails
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbook>rake db:create --trace
(in C:/appws/cookbook)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
2009 May 24
3
index.erb vs rhtml
I am a total Ruby/RoR n00b having just started reading the ''Ruby on
Rails Bible'' book two days ago. I''ve been trying to work out through
the introductory ''Your first ruby on rails application'' section, but
I''ve run into problems already!
The book goes on about creating the view templates and naming them
with the *.html.erb extension, but I get
2008 Oct 02
1
acts_as_taggable_on environment issues
Like most people, I''ve got two machines: one for development and one
for production. I''ve done everything I can to make sure the ruby/rails
environments are the same, but of course they''re not identical (I''ll
get into that in a moment). The error that I''m getting happens when I
call a method in a background task controller on the production
machine; I
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake
command. Rake is installed.
Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad
interpreter: No such file or directory. Is it not in the path but how
come I can to gem list show the gems?
Please help
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2008 Apr 28
1
method redefined errors from many core ruby libs
I have a Fedora Core 6 system on which I have built ruby 1.8.6 and
rubygems 1.1.1 from source, and installed rails 2.0.2 using rubygems.
When I create a new rails app, I get lots of errors that look like
they''re coming from internal ruby libraries. Lots of methods
redefined, as if I have some duplicate code somewhere. I also get
errors when generating a simple model (see below.)
I
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2009 Mar 22
1
Problem running autotest in rails 2.3
People,
I''m trying to run autotest on rails 2.3
I get a NoMethodError.
Here is what I see:
Sat Mar 21 20:47 /b/tmp/myfc23 maco$
Sat Mar 21 20:47 /b/tmp/myfc23 maco$ autotest
loading autotest/rails_rspec
./vendor/plugins/rspec/lib/autotest/rspec.rb:24:in `initialize'': undefined
method `failed_results_re='' for #<Autotest::RailsRspec:0x1205b88>
(NoMethodError)
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello,
On my local machine (Mac OS X 10.5.5), I get the following error when I try
to run script/server start :
"Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update
--system` and try again."
The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine.
I''ve run the rake rails:update command.
If I create a new Rails app, it starts with the command
2012 Jul 10
3
passenger not installing
C:\>gem install ''passenger''
ERROR: Error installing passenger:
The ''fastthread'' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from ''http://rubyinstaller.org/downloads'' and follow the instructions
at
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
I updated to ruby 1.8.6p111 last night and updated some gems and now
mongrel doesn''t work:
MacOS 10.4.10
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1]
$ gem list rails
*** LOCAL GEMS ***
rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6)
Here''s a simple test:
$ rails test5
create ...
$ cd test5
$ script/server
=> Booting
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