Installing on Ubuntu
On Ubuntu, you need superuser privileges to install software. To run a command with superuser privileges, precede it with sudo
.
Install the Ruby package.
sudo apt-get install ruby1.9.1
Install the AppFog gem
sudo gem install af
Install the Sinatra gem
sudo gem install af
Note
The sudo
command works for users with administrator status. The first user created when Ubuntu is installed automatically gets administrator status.