Sep
18
2010
16

Installing Diaspora preview on Ubuntu 10.04

The much anticipated Diaspora source code was released earlier this week. I followed the instruction at http://github.com/diaspora/diaspora but encountered the following error when installing bundler.

ERROR:  Error installing bundler:

bundler requires RubyGems version >= 1.3.6

It appears that there was a slight problem with the RubyGems PPA on the instruction page.

To install diaspora open a terminal, navigate to the desired installation directory and execute:

echo “deb http://downloads.mongodb.org/distros/ubuntu 10.4 10gen” | sudo tee -a /etc/apt/sources.list
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10
sudo apt-get update
sudo apt-get install build-essential libxslt1.1 libxslt1-dev libxml2 ruby-full mongodb-stable imagemagick libmagick9-dev git-core
wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz
tar -zxvf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rb
cd ..
rm -r rubygems-1.3.6
sudo gem install bundler
git clone http://github.com/diaspora/diaspora.git
cd diaspora
bundle install
To start diaspora first make sure MongoDB is running:
sudo service mongodb start
Then execute:
bundle exec thin start
Once the Diaspora service has started it should see:
>> Using rack adapter
>> Thin web server (v1.2.7 codename No Hup)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
Now open your favorite browser and navigate to http://localhost:3000 or http://[machine name]:3000
Thats it. You are now running you very own Diaspora seed.
Written by in: Uncategorized |

Powered by WordPress | Theme by TheBuckmaker.com