Skip to content

Instantly share code, notes, and snippets.

@martinrusev
Last active November 15, 2018 10:50
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinrusev/47b33b93c64890689ff2 to your computer and use it in GitHub Desktop.
Save martinrusev/47b33b93c64890689ff2 to your computer and use it in GitHub Desktop.
Installing apps on ARM
# Source
# http://www.iconoclastlabs.com/blog/ruby-on-rails-on-the-raspberry-pi-b-with-rbenv
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6 libreadline6-dev zlib1g zlib1g-dev
sudo apt-get install -y openssl libreadline6-dev git-core zlib1g libssl-dev
sudo apt-get install -y libyaml-dev libsqlite3-dev sqlite3
sudo apt-get install -y libxml2-dev libxslt-dev
sudo apt-get install -y autoconf automake libtool bison
sudo apt-get install ruby-dev
rbenv install 2.2.2
rbenv global 2.2.2
rbenv rehash
echo 'gem: --no-ri --no-rdoc' >> ~/.gemrc
gem install rails
wget http://download.redis.io/releases/redis-3.0.1.tar.gz
tar xzf redis-3.0.1.tar.gz
cd redis-3.0.1
cd deps
make hiredis jemalloc linenoise lua
cd ..
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment