Possible errors
You may get errors when calling your newly created vhost in the browser, like
http://github.com/BadMinus/devise.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
.
There are two alternatives at this point. Simplest is to create devise.git in the local directory (ie copy per installation of diaspora):
In the disapora directory:
sudo bundle install devise.git
should do the trick.
To make a system-wide install (ie single copy used by all installs), do (while root in the diaspora directory):
sudo bundle install --system mkdir -p devise.git/ruby ln -s /usr/lib/ruby/gems/* devise.git/ruby/
On subsequent installations the first line won't be required.
In both cases, the devise.git tree must be accessible for the apache user. just do a
sudo chown -R www-data:www-data /you/diaspora/installation
and, if you used the system option, a
sudo chown -R www-data:www-data /usr/lib/ruby/gems/1.8/
to change the rights