Ruby on Rails on 1and1 shared linux hosting
Can’t be done as far as I can tell.
But here are the steps I tried after trying many tutorials.
#install ruby mkdir ~/bin/ruby cd ~/bin/ruby wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz tar -zxvf ruby-1.8.5.tar.gz cd ruby-1.8.5 ./configure prefix=~/bin/ruby #replace ext/openssl/ossl.h with updated version. #refer to: http://groups.google.com/group/ruby-talk-google/browse_thread/thread/8f17987659b4c59d/8ef4d94184abb473?lnk=st&q=ossl_bio.c%3A+In+function+%60ossl_obj2bio%27&rnum=1#8ef4d94184abb473 wget http://edwardotis.com/public_files/ruby/rubyossl.patch patch ext/openssl/ossl.h rubyossl.patch make make install export PATH=~/bin/ruby/bin:$PATH #install rubygems wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz tar -xzvf rubygems-0.9.0.tgz cd rubygems-0.9.0 ruby setup.rb #ruby setup.rb config –prefix=~/rubygems #ruby setup.rb setup #ruby setup.rb install #install rails and necessary gems for rails gem install mysql #choose option 3 gem install fcgi gem install rails –include-dependencies # In the file: #~/bin/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/dispatches/dispatch.fcgi #Replace #!/usr/local/bin/ruby #with #!~/bin/ruby/bin/ruby
Plus, I setup mongrel and everything. Still no love.
Big waste of time. Much better to find a host who supports ROR and pay them separately for development environment. I love my 250GB on 1and1.