-
smileyUser
ruby-on-rails-3 passenger dreamhost
I have been working on this problem in last two days using [http://jackassofalltrades.org/2012/02/updating-to-a-newer-rails-on-dreamhost][1]/ instruction. I have looked at other ruby on rails and dreamhost issues and instructions, but they seemed out of date. e.g 2010 etc. Moreover, I do aware of heroku which is very easy to deploy but expensive to keep running for my small project. So here are my problems.Ruby (Rack)application could not be started – a mixture of two Ruby versions: Ruby 1.8
-
Michael Durrant
javascript ruby-on-rails ruby-on-rails-3.1 v8 dreamhost
My website has been broken since Dreamhost upgraded their servers a couple of weeks ago. I have been tearing my hair out trying to get it fixed and made some progress but am stuck on what is hopefully the final issue.I’m using Rails 3.1.1 on Ruby 1.8.7 and get presented with a ‘Ruby (Rack) application could not be started error’ from PhusionPassenger. It states that it ‘Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::Runti
-
Ted Avery
php javascript upload dreamhost
Ive been having trouble with a php and JavaScript upload script accepting large file uploads with Dreamhost. I realize that you are supposed to edit php.ini to change post max size and the memory limit, but it isn’t behaving as it should.The only way I have ever successfully had a large file upload was switching to Dreamhost PS and making the memory limit as high as a file (1GB) but there has to be another cost effective way, otherwise how oils sites like YouTube survive? I get I/O errors if I d
-
P-Rod
jvm neo4j vps dreamhost
I am running neo4j on a VPS at dreamhost.I currently have my memory allocation set to 4Gig. I was under the impression that Neo4j would write to disk when it reached a RAM limit, however, my instance consistently peaks and crashes. Could this have something to do with running on a VPS?Is there a way to tell Neo4j to only use so much RAM?Trying to follow the manual I have tried to change the heap size of the JVM. Unfortunately I still suffer massive memory spikes and complete system crash.Is a
-
Schrockwell
ruby-on-rails passenger dreamhost
I am hosting a Ruby on Rails 2.0.2 application on DreamHost. It is on an Apache 2 server, running on top of Phusion Passenger. The application often returns a 500 error “Rails application failed to start properly”, but at random times. It appears to happen when the application is under higher load, though I can’t confirm this. It only gets about 2,000 pageviews per day, so I don’t think load should really be an issue.The Apache logs correlate these 500 responses with the error: “Premature end of
-
Simone Carletti
ruby-on-rails ruby dreamhost chiliproject
Having some issues deploying this. I’ve tried to deploy it twice now. Here’s what I’ve done so far….Installed the gems and versions required on the install page:gem install -v=2.3.5 rails gem install -v=1.0.1 rack gem install -v=0.8.7 rake gem install -v=0.4.2 i18nDownloaded the package:git clone git://github.com/chiliproject/chiliproject.git cd chiliproject git checkout stableHad to find and set bundle since it wasn’t in my path:BUNDLE=”/usr/lib/ruby/gems/1.8/bin/bundle”Put my database info
-
Diego Ivan
ruby-on-rails heroku passenger spree dreamhost
I have problems deploying an application from Heroku to the dreamhost VPS solution.I’m using Passenger based on the wiki from Dreamhost to deploy a rails app(based on spree), but im having serious problems with the app.http://www.naxxai.com.mx/Error message: undefined method `set_preference’ for nil:NilClass Exception class: NoMethodError Application root: /home/naxxaiweb/naxxai.com.mxI did the bundle install and everything was ok, i’m thinking it have to be something with the db. Have anyone de
-
Young
php function version dreamhost
I relogin to my server in dreamhost and test some scripts.And I found I couldn’t use str_split. Message of Undefined function was given.I checked the version in the server and its PHP Version is 5.2.12.And I just wonder which version is required?Thanks. Testcode:<?php $arr = str_split(“lsdjflsdjflsdjflsdjfl”); print_r($arr); ?>Message:Fatal error: Call to undefined function: str_split() in /test.php on line 3Edit @Justin JohnsonI checked the server’s system directory,and I found there are
-
Snow Crash
php simplexml dreamhost
When calling this function:simplexml_load_string()I get this error:Fatal error: Call to undefined function: simplexml_load_string()However, checking phpinfo I have:SimpleXML Simplexml support enabled Revision $Revision: 299016 $ Schema support enabled What gives?!If it helps I’m hosting on Dreamhost.
-
hakre
geolocation dreamhost whois
Read on before you say this is a duplicate, it’s not. (as far as I could see)I want to get the county code in php from the client.Yes I know you can do this using external sites or with the likes of “geoip_record_by_name” but I don’t want to be dependent on an external site, and I can’t install “pear” for php as im using shard Dreamhost hosting.I thought I could just do something like this:$output = shell_exec(‘whois ‘.$ip.’ -H | grep country | awk \'{print $2}\”); echo “<pre>$output</
-
Tarscher
ruby-on-rails deployment dreamhost
I get a Could not find i18n-0.5.0 in any of the sourceserror when deploying my rails 3 app to a shared dreamhost.Support suggested installing bundler 0.9.9 which I did but when I run bundle install in my apps folder i get the message that Bundle is an unknown command. Apparently Bundler isn’t in my path.The problem is that I’m a complete unix noob and don’t know how to add this so that bundle is a known command.Thanks