Displaying 20 results from an estimated 4000 matches similar to: "LoadError - no such file to load -- pathname (Dreamhost)"
2006 Jan 15
7
Dreaded Internal 500 Error on DreamHost.
Hey guys,
I often get this problem the first time I try to deploy a rails app
on dreamhost and I''m not sure what the cause is. Basically, I have
an app that''s running fine on my local machine. I''ve uploaded the
app, configured and migrated to the latest version of the db, and set
all of the necessary directories to 755. But when I run dispatch.rb
in ssh or
2006 Feb 03
3
My associations are coming out nil.
I''ve got a fairly simple system with a table for my Users that
includes a CountryId field which looks up to the CountryId field of my
Country table. What I would like to happen is for my Rails
application, which contains models for both User and Country, to be
able to draw the dropdown list of available countries on the edit
page, like it does in all the tutorials.
My model classes look
2006 Jan 30
4
dispatch.cgi Problem
Hey all,
I''ve been battling with ruby configurations for days now...trying to get
either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server.
I''ve pretty much gave up that battle since either of them will work with
me after trying dozens of configurations, but now even when I try to run
apps with dispatch.cgi I get this error in my log: "Premature end of
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 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems.
The app is running with edge rails and I''m currently getting the dreaded
''Rails application failed to start'' white screen when trying to access it.
I''ve gone through all the ''gotchas'' and troubleshooting docs at
Dreamhost and the rails wiki to no avail.
2006 Apr 13
3
Creating 2nd rails app on Dreamhost?
My hosting provider is Dreamhost, and for some reason can''t figure out
something that should not be that hard to do. Being a linux newbie
isn''t helping me much either :-)
On Dreamhost, each domain gets its own subdirectory. To setup my web
app for each domain, I just go to the parent directory of that domain in
a telnet session, and type "rails mydomain.com", and
2006 May 02
7
vendor/rails seems to be being ignored in preference to gem?
I have edge rails in /vendor/rails on DreamHost, but when running
dispatch.fcgi I get the following error in my logs:
[02/May/2006:08:52:32 :: 29365] terminated gracefully
[02/May/2006:08:53:53 :: 19526] starting
[02/May/2006:08:53:54 :: 19526] Dispatcher failed to catch: undefined
method `clear_connection_cache!'' for ActiveRecord::Base:Class
(NoMethodError)
2006 Apr 17
2
Email Multipart message
Hi,
I use the multipart functionality from the action mailer.
But when i send an html message, my outlook opens the mail and shows
this:
--mimepart_4443b76d12268_6f34..fdacc616831e6 Content-Type: text/html;
charset=iso-8859-1 Content-Transfer-Encoding: Quoted-printable
Content-Disposition: inline
<!!Message>
= = --mimepart_4443b76d12268_6f34..fdacc616831e6--
No html will appear. When
2006 Feb 25
2
ActionFaxer?
Hi,
I would like to use ActionMailer to send and email but I also want to
send a copy of the email as a Fax. Is this possible?
Thanks,
Peter
2005 Dec 30
2
rails running very slowly on apache (with fcgi or without)
Was wondering if there is anything obvious I may have missed in my
setup that would cause it to run so slowly. WEBrick runs blazingly
fast in comparison, in dev mode, so I''m sure there''s something off.
Even in production mode requests take about 4 or 5 secs.
Thanks!
Win XP
Apache 2
Rails 1.0
-rich
2006 Feb 21
3
HABTM :insert_sql help
Hi all,
I''m working with a legacy sqlserver db and I''m trying to override the
insert sql in as defined in the HABTM method below(becasue the join
has three primary keys), but I''m getting the error: ''undefined local
variable or method `record'' for Project:Class''
has_and_belongs_to_many :people,
:class => ''Person'',
2006 Apr 12
8
500 Server Error - stumping me at the moment
I''m trying to deploy an app on Dreamhost and I''m getting the infamous
500 Server Error.
Nothing in the rails logs because it looks to be happening before it
gets there.
In the apache error logs we have:
[Wed Apr 12 12:51:51 2006] [error] [client 194.80.32.9] FastCGI: comm
with (dynamic) server
"/home/rlivsey/thatsprogress.com/current/public/dispatch.fcgi"
2005 Dec 22
3
help with unless
Hi,
I need a fresh set of eyes to look at this bit of controller code and tell
me why I might be getting an error message:
lookup = Profit.find(:all, :conditions => [ "user_id = ? AND
product_id = ?", uid, pid])
unless lookup.empty?
if (lookup.updated_on > 360.minutes.ago)
return
end
end
If lookup is empty, then I
2006 Apr 05
2
Typo on Dreamhost
I''ve had no success getting Typo running on my Dreamhost account. Does
anyone have a link to an FAQ on getting Typo up on Dreamhost?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
1
Capistrano Deployment on Dreamhost
I''m having trouble getting Capistrano to work on Dreamhost. I seem to be
having problems logging in, but I can ssh fine to my dreamhost server
from this machine. This doesn''t seem like a dreamhost specific thing to
me, but I''m kind of stuck.
Here''s the exception I get from "cap setup":
2006 Jul 21
2
Dreamhost - how to login to your unix account?
[apologies but dreamhost forums are down & I''m keen to get a rails up on
my dreamhost account but the following isn''t clear to me - I''m just
hoping one of the rails dreamhost users can set me straight]
I''m having difficulty in PUTTY to login to my unix account. I''ve
tried by using Putty SSH to access
2008 Jun 06
3
LoadError (Expected model.rb to define Model)
Hello,
I''m having an error that occurs in production (on Dreamhost) but does
not occur in development on my local machine. The situation is that
there is a model (Article), and it uses act_as_ferret for search. The
error is as follows (where I say {full server path}, that''s not what
the error says, just my note):
LoadError (Expected {full server path}/article.rb to define
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
2007 Feb 27
5
Camping on Dreamhost - Please Help!
Hi Folks,
I''ve been trying to get camping up and running on dreamhost for the
past six hours, but have had no success. I''d really appreciate any
suggestions!
The camping gem is on the dreamhost server, but just to make sure it
wasn''t a dependency issue causing all the problems, I installed
camping + the full set of dependencies in my own gem directory (both
are on the
2006 Aug 26
2
Dreamhost issues
Hi there!
I just have discovered this wonderful plugin a few days ago and I uploaded a
little test to my Dreamhost account. I simply got a worker that resizes an
image that the user uploads.
So this morning I launched the BackgrounDRb server on my account with the
rake task and began to upload some test images. The server daemon has been
executing until a few minutes ago, I suppose because of