Displaying 20 results from an estimated 3000 matches similar to: "Can''t get into production mode!"
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi,
I''m deploying to a prod linux server via Capistrano, but the last step,
running the reaper, won''t complete.
Ruby is stored in /usr/local/bin on the server, and I''m deploying from
winxp.
$ ssh mcalogin@lx07
Password:
mcalogin@LX07:~> env | grep "^PATH"
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b
in:/opt/
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s
instructions: http://brainspl.at/pages/rails_stack... Currently the app
runs fine with webrick, but with lighty I get 404 errors on everything.
I found if I don''t edit the lighttpd.conf file to use absolute paths, it
works fine. But this is not good for production because I need to run it
with the -d
2006 Feb 21
0
Deployment question: running multiple applications using symlinks, what does my lighttp.conf look like?
Hi,
I''m looking to run several installation of a rails app. Each one has
certain unique elements, like database.yml some and some css stuff,
possible some templates as well.
I''ve set this up like
/w/sites/clienta
/w/sites/clientb
/w/sites/clientc
Inside these directories there will be mostly symlinks to:
/apps/myapp
Urls for these apps will be:
http://clienta.example.com
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys,
I''m here again with a problem. I have a rails app called brewed. It''s
located /home/user/brewed. My lighttpd.conf is located at
/home/user/lighty. When I execute lighty on port 80 with:
/usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems
to work fine.
If I type www.mysite.com/main/index on my browser, the page comes out
well. I have my files
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone,
I?ve been working with Ruby on Rails for about 2 months now and have
really enjoyed the ease of use of it. I?m only been doing development
on it so I?ve been using WeBrick. Recently, I have built a server
running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and
Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I
changed the paths in the
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to
set up typo so that it also works (with a different url). I have 4 URLs
running -- let''s call them foo.com, bar.com, www.typo.com and
php.typo.com
I am starting lighttpd by going into the directory where my foo.com app
is and typing either ruby script/server or script/server -e production
-- either
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m
having quite a time of it.
I have all of the following installed on a FC4 system:
ruby-1.8.4
gems-0.8.11
rails-1.0
fcgi-2.4.0
ruby-fcgi-0.8.6
lighttpd-1.4.10
Before I tried setting up multiple apps, I just decided to try for a
single app setup. I have the following configuration:
### begin config ###
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now,
and have exhausted my web research options:
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in
`require'': no such file to load --
/usr/home/matthew.feadler/rails/avclfc/public/../config/environment
(LoadError)
from
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5
(with in-house-built framework)... so the jump is not terribly bad. I''m
REALLY excited actually!
My problem: I am overwhelmed with all the setup Loops I have to jump
through to get RoR setup. I tried it on my current Apache 1.34 and
decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello.
Since two days I am trying to set up two rails-apps on a vserver-host so
that I can access from work ;-)
I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI,
Lighttpd, Apache, Alias, Vhosts,....
But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails
1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems
0.8.11, Apache 2.0.54, Lighttpd
2006 Apr 28
1
Apache proxy to lighttpd leads to Rails routing error
Hello,
I have an issue I am having trouble figuring out. I have a Rails app
running through lighttpd which is accessed through an Apache proxy.
My apache config:
<location /rails/>
ProxyPass http://localhost:81/
ProxyPassReverse http://localhost:81/
</location>
RewriteEngine On
RewriteRule ^/rails/(.*) http://localhost:81/$1 [P]
So when apache sees /rails/ it
2006 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the
Rails Recipes example), but I find that it only works with the webrick
server and not my lighttpd 1.4.11 server.
I''m running Rails 1.1.2 on OSX. The upload silently fails with both
firefox and Safari, even with the useragent hack and with any size of
file/image. My lighttpd config is pretty standard as
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on
Textdrive to no avail.
Right now I''m getting a 500 error when I go to the site, and it spits this
out (from lightty after i restart it and make a request to the app):
(eval):13:in `initialize'': undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from
2006 Apr 17
0
Trailing Slash Issues
Hello,
I''m using Lighttpd and I am having problems with links like this:
http://mydomain.com/controller
If I do not add the trailing slash it downloads the dispatch,fcgi as a
file.
Here is the lighttpd.conf
#
# Server Main Config
#
#include "lighttpd-inc.conf"
server.modules = ("mod_rewrite", "mod_accesslog", "mod_fastcgi")
server.port =
2006 Feb 16
0
url.access-deny
Hello,
There are several proxy servers that for some reason try every night to
download some gif files that do not exist on my site.
They make about 70 requests on the same second and that''s not good to my
application
I was trying to use url.access-deny to deny the access to the unexisting gif
files, but for some reason it does not work (meaning that I still see the
request in the
2005 Nov 14
0
can't display controllers with lighttpd
Hello,
I can see http://192.168.1.5/public/index.html
i''ve created a controller as it''s mentionned in the rails bible
("agile web dev.." of M.Thomas)
If i try http://192.168.1.5/say i have an error "file not found"
I''ve really struggled a lot with this and already asked people at
#lighhtpd but i really can''t find the answer.
This is
2006 May 26
2
Lighttpd Config
Hi this is a newbie question that should be easy enough for somebody to
answer, I''m horrible at this web server configuration stuff.
I''m running Rails on Fedora Core 5 with Lighttpd and MySql. I''ve created a
rails application ''logapp''. I have an entry in /etc/hosts like...
127.0.0.1 logapp
So when I point my browser to ''logapp''
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi,
I''ve got AAA loaded and working. I now want to put a smarter login form
on the sidebar of my site.
If the user is not logged in, I''d like to display a typical form in the
sidebar that collects the user ID/password and allows the user to login.
If the user is logged in, the box should display something like ''Logged
in user: FirstName Lastname'' and a
2006 Dec 11
0
Lighttpd setup with rails
Hi Everyone-
I am trying to setup lighttpd on a CentOS 4.2 box after having
problems with getting it to work on Apache. I am hoping some fresh
eyes can see any errors below. The log files are useless as they
just say server stop and server start. When I create an app in rails
I can see the rails welcome screen, but everything else comes up 404.
Here is my lighttpd config pointing to