Slicehost gets a good press around here, so I’ve decided to try them
out for my latest Radiant site.
Starting from a fresh Ubuntu Dapper installation, I used deprec to
install the Rails stack. I have been able to get a pure Rails app up
and running, but when I try the same procedure with a Radiant site I
am unsuccessful. I’m issuing the following commands:
: deprec --apply-to .
(edit :domain. :application, and :user in config/deploy.rb)
: cap1 setup_ssh_keys
: cap1 install_rails_stack
: cap1 deprec_setup
: cap1 setup_scm
(cd to the newly created working copy of project)
: cap1 deploy_with_migrations
: cap1 restart_apache
Commands 1-5 all work fine, but then it goes awry. Command 
objects, because the radiant gem has not been installed on the
server. I realise it should be straightforward to add a capistrano
task to do this, but I’m not sure how, so I just logged into the
server again and ran:
sudo gem install -v=0.6.3 radiant
My site uses the Sass extension, so I also ran:
sudo gem install haml
Following these modifications, commands  &  seemed to work
fine, but my site doesn’t run.
On the server, I tried this:
curl -I http://127.0.0.1:8000
HTTP/1.1 500 Internal Server Error
Date: Sun, 02 Dec 2007 19:34:50 GMT
Status: 500 Internal Error
Last-Modified: Sun, 02 Dec 2007 19:34:50 GMT
Server: Mongrel 1.1.1
Content-Type: text/html; charset=utf-8
If I run the same command without the
-I flag, then I get HTML
source for what appears to be a Rails error page. Here are the first
Errno::EACCES in SiteController#show_page
Permission denied - /var/www/apps/nomore/current/cache/ index.data
Could anyone suggest what I might attempt to solve this?
Thanks in advance.
I note that on the Radiant wiki there are How Tos for deployment on a
number of hosts, but nothing to walk you through from a fresh Ubuntu
LTS install. I’ve been taking notes on what I’m doing, and will
happily turn them into a How To as soon as I get up and running.