Railsbridge Installfest


Site List


You will need sudo access in order to complete these directions (The first user account has this by default).

Step 1: Install packaged software and libraries

Open a terminal (Applications > Accessories > Terminal). You may want to right-click on the terminal icon and select "Add to panel" so the icon will appear next to the default help and firefox icons in the top panel.

Type this in the terminal:
sudo apt-get install autoconf automake bison build-essential curl git-core libapr1 libaprutil1 libc6-dev libltdl-dev libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev libyaml-dev ncurses-dev openssl sqlite3 zlib1g zlib1g-dev

Step 2: Install git

Type this in the terminal:
sudo apt-get install git

If this results in an error, you should be ok, as the prior step should have installed git-core

Step 3: Configure Git

Step 4: Install RVM

If you're using Ubuntu 12.04 or the latest version of Mint, ensure that the Run command as login shell option is checked under the Title and Command tab in Profile Preferences. After changing this setting, you may need to exit your console session and start a new one before the changes take affect.

Ubuntu 12.04 terminal settings

Restart your terminal before continuing.

Step 5: Install Rails

Using a terminal again, execute the following command to install rails.

Type this in the terminal:
gem install rails

Step 6: Install Heroku

Type this in the terminal:
gem install heroku

This only installs a local command-line heroku tool. You will still need to sign up for a Heroku account later.

Step 7: KomodoEdit

If you don't have a preferred code editor, you can install KomodoEdit. It's available for 32-bit machines and 64-bit machines

Check http://downloads.activestate.com/Komodo/releases/ for the latest version.

How many bits?

If you're not sure, you're probably 32-bit. Run uname -i and see. "x86" in the filename means 32-bit, and "x86_64" means 64-bit.

Next Step:

Railsbridge Docs

Source: https://github.com/railsbridge/docs