Displaying 20 results from an estimated 4000 matches similar to: "Dreaded Internal 500 Error on DreamHost."
2005 Dec 15
1
Rails Gem Not Installing Properly?
Hey guys,
I get a very strange behavior when I attempt to install the Rails gem
on my server:
[root@hotaces local]# gem install rails --remote
Attempting remote installation of ''rails''
Successfully installed rails-1.0.0
Normally it asks if I want to include dependencies etc. etc. This
appears to be instant but then when I try to use the rails command it
is not there. I
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first
step to take to see what the issue is here?
I have no errors in the rails app''s log files. The only errors I have
are those provided by apache and they are:
''FastCGI: Incomplete headers (0) bytes received from server''
I''ve tried editing the shebang line, removing line feeds, but
2006 Jan 23
9
Web Hosting Options?
Can someone recommend a good web host for ROR?
--
Posted via http://www.ruby-forum.com/.
2005 Dec 14
3
Advanced routing question.
Hello All,
I''m making a quick application that tracks outgoing links to referral
sites. I need to track the user and the url they went to so the
easiest way would be to take the entire url as a parameter and log
that into the database. I was wondering if I could do something like
this with routing:
http://www.example.com/user/jump/http://www.myvendor.com/referral.php?
2006 Jan 14
12
Dedicated Host Recommendations?
I currently have a dedicated server at ev1servers, but
it''s getting rather antiquated (Redhat 9) and am
looking to upgrade. I''m thinking about serverbeach.com
- one of their CentOS servers. Anybody have any
recommendations for dedicated servers on which to run
Rails? Hopefully less than $200/month.
Thanks!
CSN
__________________________________________________
Do You Yahoo!?
2006 Jul 19
11
Hosting a Ruby App From Home - Approach?
Hi,
Any advice/comments on the potential for hosting some personal Ruby
applications from home? (i.e. for learning, sharing with friends etc)
Would the basic concept be:
* Need to buy a static IP address from you ISP
* By a domain name and point it to the static IP address
* Run Apache as the front end web server
- Q: What basic lockdown/security steps should one take?
* Perform a PORT
2005 Dec 25
5
understanding session fixation attacks
is there a way that, our application can understand wheteher the session id
sent from the browser is forged or created by rails? I understand that if
the attacker guesses session id, theres nothing we can do about it; but can
we understand if he/she is trying to guess by creating random session ids.
_______________________________________________
Rails mailing list
2006 Jul 21
6
Troubleshooting tips for getting Apache/RailsApp/Dreamhost
Hi,
Background: I''m currently stuck getting my basic rails application
working on dreamhost. I have gone throught the doco. Note that I can
via my unix account run "ruby script/server" and get the application
working via webbrick. The problem I am having is that trying to go to
the app via the normal apache approach my browser just sits and spins
with nothing coming
2006 Jan 13
4
FastCGI processes sometimes ''hang''
I am running a RoR application on Apache 1.3/RedHat 7.3/MySQL 3.1.23
(Old versions I know, but upgrading to latest versions are not practical
for a number of reasons). There are 5 RoR FastCGI processes configured
using FastCgiServer.
What I am finding is that, after a while, some of the FastCGI processes
seem to ''hang''. They no longer process requests, and the only way to
2006 Jan 31
2
New free IBM DB2 with few restrictions
This will give you something to run on when Oracle refuses to renew
the MySQL InnoDB license next year.....
Linux and Windows versions
You can run DB2 Express-C on up to 2 dual-core CPU servers, with up to
4 GB of memory, any storage system setup and with no restrictions on
database size or any other artificial restrictions.
Business partners may choose to register for free redistribution of
2006 Jan 19
10
Where to place uploaded files for later download?
Hi there,
I am working in a RoR application which allows certain users
to upload files. Currently I store these files
in a directory called "files". This directory is located in
the RoR application directory:
rails/rails_application/files
So users don''t have access to them.
Now I want users to be able to download some of these files
(they will search based on some
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is
using ruby to send the file contents. Linux supports a sendfile() OS
call. The implementation of Linux sendfile() is extremely fast and
very CPU efficient, far faster than what can be done in user space.
Does Windows support a sendfile() equivalent call? I haven''t been
working with ruby long enough to know how it handles
2004 Feb 07
1
double define of __BIT_TYPES_DEFINED__
/klibc/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of `int8_t'
/klibc/linux/include/linux/types.h:109: error: `int8_t' previously declared here
The copy in stdint.h is not protected by:
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
#endif /* !(__BIT_TYPES_DEFINED__) */
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this?
[jonsmirl@smirl klibc-0.184]$ make
make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an
instance variables like this:
<% for product in @products
@product = product %>
<div class="catalogentry">
<%= image_tag url_for_file_column(''product'', ''image_url'') %></p>
This is needed because file_column specifically looks for the instance
2006 Feb 10
4
Handling a relationship between users and newsletter subcriptions.
Hey Everyone!
I have a newsletter system that contains a multitude of different
newsletters. In this case three but the system allows the user to
add more. Every user can be subscribed to any amount of given
newsletters. So what I did was I created a user model, newsletter
model, and subscription model.
The subscription model belongs to one user and one newsletter.
However,
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run
any scripts or dispatch.*
[barry]$ ruby -d script/server
Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to
load -- pathname
./script/../config/boot.rb:6:in `require'': no such file to load --
pathname (LoadError)
from ./script/../config/boot.rb:6
from
2006 Feb 14
9
Deploying in Dreamhost
What pain. I am ready to switch hosts. I have this app in Dreamhost
where I load the static pages just fine. The location of my rails app
is /home/username/webaddress.com Under that resides the app/, public/
and so on. Like I said I can see my static pages that I have under
public since I have in the Managed host panel the following:
Web Directory: /home/username/[ webaddress.com/public
2006 Jan 14
4
Rails URLs always try to open non-existent files
The lighttpd config file is set up like this...
Rails url: //host/controller/method/id
Lighttpd tries to open the file ''controller/method/id'' from the document root.
Of course this doesn''t work and generates an error 404
This gets caught with: server.error-handler-404 = "/dispatch.fcgi"
Which turns the request into "/dispatch.fcgi"
That gets caught
2005 Dec 19
1
Is there a guide for using ERBSQL?
I''m not sure I completely understand the benefits of using ERBSQL or
how to use it. Google searches have proved it to be rather
undocumented.
From what I understand the embedded ruby sql allows you to write sql
that''s easier to deploy via the create_db script and also more
portable to postgres, myslq, or whatever.
But what I can''t find is a resource that