Last active
November 15, 2018 10:50
-
-
Save martinrusev/47b33b93c64890689ff2 to your computer and use it in GitHub Desktop.
Installing apps on ARM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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