dreamhost

Ruby on Rails application could not be started

I put my first Rails app online on Dreamhost, but I keep getting "Ruby on Rails application could not be started" (you can see it directly). Then running rake exiftool process seems to be killed by DH: sh: line 1: 10645 Killed convert "/tmp/stream20090806-10125-x36lrj-0[0]" -resize "x150" -crop "150x150+25+0" +repage "/tmp/stream2009080...

Git / Rails / Shared Hosting (Dreamhost) workflow

This is primarily a question about effective Git usage. I should first say I'm not an expert in Rails (at least in a production sense) and definitely a Git newbie, however, I have had some experience using SVN. My problem is that I am trying to create a rails application but do not know the best way to keep development local on my comp...

why is my first RoR app on Dreamhost running so slow?

I've got my first RoR app deployed to Dreamhost and it's using Passenger. The one note on Dreamhost's wiki about slow response mentioned changing a RewriteRules line in the public/.htaccess file to use FastCGI. But I assume this will have no effect if I'm using Passenger, is that right? I've looked at the logs and compared them to my lo...

I cannot use passenger for my ruby on rails application on dreamhost.

I want to do some programming in ruby on rails on my Dreamhost server, so I connected via ssh and created a small application. Then I started the server and it worked. The problem is, that after some time the server kills itself. So I tried to activate Passenger in the user panel (which also has the advantage, that I don't have to connec...

Calling Rubygem tmail from Dreamhost CRONjob

I have a cron job to run a Ruby script, which runs fine on the command line (from user "user"), but the cron fails because it cannot find a ruby gem TMail. I manually installed the tmail gem to my ~/.gems/ dir, pointed to by my ~/.bashrc script, as suggested by Nate. When invoked manually from the shell (on deadpool server) ./home/...

Hosting Help- Custom Gems on DreamHost

I am attempting to deploy a RoR app using Passenger onto my DreamHost hosting account, but am having trouble getting it up and running. My application requires two custom gems 'amazon-ecs' and 'nokogiri.' As per the instructions on the DreamHost wiki (http://wiki.dreamhost.com/Freezing%5FGems) I froze the gems to vendors by coding them ...

Ruby on Rails - Basic Controller Setup on Dreamhost

I'm working my way through Agile Web Development with Rails and am running into this problem on a shared system (Dreamhost). [******]$ ruby script/generate controller Say Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please `gem update --system` and try again. [******]$ gem update --system Updating RubyGems Updating rubygems-updat...

Problem connecting to svn (400: Bad Request)

Hi all, Summary: I'm having some svn trouble, and after "debugging" it for a while, I'm not sure where to go from here. I figure someone else might have run into this problem before. The problem appears to be that I'm behind a transparent proxy my ISP uses, but this doesn't explain all the facts. Details: I'm having trouble connecting ...

How do I adjust the Wordpress URL handling to ignore certain directories?

I'm using Dreamhost's WordPress, Subversion, and Trac installations. My Subversion repositories are all in /repos/[projectname] and my Trac installations are all in /trac/[projectname]. I also have some other directories, such as /webapps/[appname] for web applications that I am working on. However, if I go to /trac/[projectname] in my b...

How do I migrate a newer SVN repository to an older version?

I created a local repository using tortoiseSVN a while back. Now I would like to migrate the repository to my DreamHost account. I moved the files over but it seems that DreamHost is using an older version of SVN. when I issue the command svnadmin load 'repository dir' it spits back svnadmin: Expected FS format '2'; found form...

[PHP] When using system to zip a directory lots of output is shown

I'm trying to write a script that allows an admin of a photo uploading system download all their photos at once. Currently I am using system('zip -r '.$_SERVER['DOCUMENT_ROOT'].'/zip.zip '.$_SERVER['DOCUMENT_ROOT'].'/images/photo-uploads'; to zip the files but this seems to echo names and locations all the files onto the page. Is th...

Getting Django and Subversion to work together on Dreamhost

Does anyone know how to get Django and Subversion to work together on Dreamhost? I've been following this tutorial to install Django (which uses Passenger WSGI): http://wiki.dreamhost.com/Django After I got Django to work, Subversion stopped working. Has anyone ran into this problem? ...

Subversion Dreamhost Coda

I am a intermediate web developer, I am attempting to integrate subversion into my workflow. I have come to the understanding, that it is something important to learn, and can save me from rewrite issue nightmares in the future. My current host is dreamhost I have setup subversion with them, and I have checked out the project(my syntax...

Bypassing rack version error using Rails 2.3.5

I'm currently on Dreamhost attempting to run a Rails 2.3.5 app. Here is the situation, Dreamhost's servers have Rails 2.2.2 installed. Of course, I can't update a shared host's rails version, so I froze my Rails in vendor. Rails 2.3.5 requires the rack v1.0.1 gem. Dreamhost uses the rack v1.0.0 gem. So when I try to define: config.gem ...

Deploying Sinatra app on Dreamhost/Passenger with custom gems

I've got a Sinatra app that I'm trying to run on Dreamhost that makes use of pony to send email. In order to get the application up and running at the very beginning (before adding pony), I had to gem unpack rack and gem unpack sinatra into the vendor/ directory, so this was my config.ru: require 'vendor/rack/lib/rack' require 'vendor/s...

What exactly is the difference between the Dreamhost IDE and Netbeans?

I just started using Netbeans about a week ago, and really like it thus far. Now I'm seeing something about Dreamhost IDE which I guess is a program that is built using the Netbeans platform. I use Dreamhost as the hosting company for many of my projects. What is the benefit of using Dreamhost IDE over Netbeans? Documentation on the ...

Sinatra - how do I debug it when it's online?

I wrote a teeny tiny Sinatra app that runs fine, locally, but for some reason as soon as I put it online, all I get is 'Internal Server Error'. How do I get the logging output? I'm running on Dreamhost with passenger, using the instructions from the Sinatra book. So I added to more handlers: get '/hello/:name' do "Hello, #{params[:...

Debugging Django/Python on Dreamhost

Debugging Django on Dreamhost is proving quite the challenge. To my knowledge, print statements aren't available, and neither are logs... any suggestions? ...

How do I enable gzip on Dreamhost?

I would like to compress all css and js on my Dreamhost site, I have found suggestions on the web but none of them work. Does anyone have a working example of gzip running on a Dreamhost site? ...

Does anyone had success getting Django to send emails when hosting on Dreamhost?

Greetings, Does anyone know what are the required fields to have Django send emails when a "500 Internal Server Error" happend? I am hosting my project on Dreamhost and for the life of me I can't get Django to send emails. What are the required fields when hosting on Dreamhost? ...