Skip to content
alexjo edited this page Aug 8, 2014 · 20 revisions

###Ruby setup

Having installed ruby you may find that you need to install a few basic programs to get off the ground.

gem install bundler
gem install calabash-android

####Optional

On OS-X gems will default to being saved in root owned location. It is possible to create a custom gem location and point ruby gems to use that.

mkdir -p ~/.gems
export GEM_HOME="$HOME/.gems"
export GEM_PATH="$GEM_HOME:/var/lib/ruby/gems/1.8"

###Brew setup

Run the following shell commands to get the basic setup required

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

brew doctor

brew install android-sdk

####Optional

brew install rbenv rbenv-gem-rehash ruby-build
rbenv install 2.1.2
rbenv global 2.1.2
rbenv rehash

###Android SDK Setup

It is important to make sure that before installing and AVD's you have the intel system image. Example of android sdk

Also install HAXM support.

HAXM support picture

###Android AVD Setup

It is important to enable the host GPU and prefer an Intel processor. In addition to this you may want to generate some SD card space to enable download of books in app.

AVD setup

Clone this wiki locally