Last active
August 29, 2015 14:04
-
-
Save rjaeckel/5d4bd748a1a4fcb7c646 to your computer and use it in GitHub Desktop.
ruby on rails installation using rvm
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
#!/usr/bin/fish | |
# rvm install | |
curl -sSL https://get.rvm.io | bash -s stable | |
# fish integration --> https://rvm.io/integration/fish | |
curl -L --create-dirs -o ~/.config/fish/functions/rvm.fish https://raw.github.com/lunks/fish-nuggets/master/functions/rvm.fish | |
# make gems and ruby-binaries available in shell per default: | |
egrep "^[[:space:]]*rvm" config.fish; or echo "rvm>/dev/null">>~/.config/fish/config.fish | |
# check ruby requirements | |
# installs: libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, bison, libffi-dev on recent ubuntu 14.04 | |
rvm requirements | |
# install nodejs as its a good base as js-library for rails | |
apt-get installl nodejs | |
# install stable ruby https://rvm.io/rubies/named | |
rvm install ruby | |
# update gems | |
gem update | |
# install rails | |
gem install rails | |
# update again just to be shure | |
gem update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment