Setup an Ubuntu Development Environment the Agaric Way
Description
Use the following commands to set up a development environment on Ubuntu (8.10).
1. Install GIT Core
sudo aptitude install git-core
2. Install RubyGems
sudo aptitude install rubygems
3. Install Rake
sudo aptitude install rake
4. Install Capistrano
sudo gem install capistrano

to alias capistrano ->
alias cap=/var/lib/gems/1.8/bin/capor
export PATH=$PATH:/var/lib/gems/1.8/bin/either can be added to bashrc, the 2nd will find every gem you will ever install
I also had to add the package 'libopenssl-ruby' because I was getting errors that look like this
/themes/digio$ cap agaric:update/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- openssl (LoadError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /var/lib/gems/1.8/gems/net-ssh-2.0.10/lib/net/ssh/transport/openssl.rb:1
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
....
...
...
Make sure you actually did both step 4 (and didn't get distracted) and Dan's addition, the export PATH one is the way to go.
After the addition to .bashrc, run the command below to refresh:
source ~/.bashrcSnapshot of the current script:
# Setting up your Ubuntu development environment the Agaric way.
sudo apt-get install git-core gitk git-gui git-doc curl
sudo aptitude install libopenssl-ruby rubygems
sudo aptitude install rake
sudo gem install capistrano
echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc
source ~/.bashrc
# See instructions for setting up Drush on data.
# lynx ubuntu
sudo apt-get install lynx-cur
# Text/code editor
sudo apt-get install vim-gnome
# xdebug (configuration needed)
sudo apt-get install php5-xdebug
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install mysql-server
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
sudo apt-get install git-core gitk git-gui git-doc curl
sudo aptitude install libopenssl-ruby rubygems
sudo aptitude install rake
# lynx ubuntu
sudo apt-get install lynx-cur
# Text/code editor
sudo apt-get install vim-gnome
# xdebug (configuration needed)
sudo apt-get install php5-xdebug
sudo enmod rewrite