Last active
November 28, 2024 20:35
-
Star
(146)
You must be signed in to star a gist -
Fork
(43)
You must be signed in to fork a gist
Revisions
-
blacktm revised this gist
Dec 26, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ # -------------------------------------------------------------------------------------------- # Set the Ruby version you want to install RUBY_VERSION=3.3.0 # Welcome message echo -e " -
blacktm revised this gist
Dec 8, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ # -------------------------------------------------------------------------------------------- # Set the Ruby version you want to install RUBY_VERSION=3.1.3 # Welcome message echo -e " -
blacktm revised this gist
Apr 18, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ # -------------------------------------------------------------------------------------------- # Set the Ruby version you want to install RUBY_VERSION=3.1.2 # Welcome message echo -e " -
blacktm revised this gist
Mar 22, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,7 +50,7 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build # Install dependencies # See: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev # Install Ruby, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install $RUBY_VERSION --verbose -
blacktm revised this gist
Mar 22, 2022 . No changes.There are no files selected for viewing
-
blacktm revised this gist
Mar 22, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ # -------------------------------------------------------------------------------------------- # Set the Ruby version you want to install RUBY_VERSION=3.1.1 # Welcome message echo -e " -
blacktm revised this gist
Dec 28, 2021 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,9 @@ # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Set the Ruby version you want to install RUBY_VERSION=3.1.0 # Welcome message echo -e " This will install Ruby using rbenv/ruby-build. @@ -50,10 +53,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install $RUBY_VERSION --verbose # Set Ruby as the global default rbenv global $RUBY_VERSION # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Dec 28, 2021 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ #!/bin/bash # -------------------------------------------------------------------------------------------- # Installs Ruby using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" @@ -49,11 +49,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 3.1.0 --verbose # Set Ruby as the global default rbenv global 3.1.0 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Dec 19, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 3.0, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 3.0.3 --verbose # Set Ruby 3.0 as the global default rbenv global 3.0.3 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Dec 26, 2020 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ #!/bin/bash # -------------------------------------------------------------------------------------------- # Installs Ruby 3.0 using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby 3.0 using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" @@ -49,11 +49,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 3.0, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 3.0.0 --verbose # Set Ruby 3.0 as the global default rbenv global 3.0.0 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Nov 16, 2020 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ #!/bin/bash # -------------------------------------------------------------------------------------------- # Installs Ruby 2.7 using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby 2.7 using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" @@ -49,11 +49,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.7, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.7.2 --verbose # Set Ruby 2.7 as the global default rbenv global 2.7.2 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Aug 29, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.6, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.6.4 --verbose # Set Ruby 2.6 as the global default rbenv global 2.6.4 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
May 15, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.6, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.6.3 --verbose # Set Ruby 2.6 as the global default rbenv global 2.6.3 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Mar 15, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.6, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.6.2 --verbose # Set Ruby 2.6 as the global default rbenv global 2.6.2 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Feb 1, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.6, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.6.1 --verbose # Set Ruby 2.6 as the global default rbenv global 2.6.1 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Dec 31, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ #!/bin/bash # -------------------------------------------------------------------------------------------- # Installs Ruby 2.6 using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby 2.6 using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" @@ -49,11 +49,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.6, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.6.0 --verbose # Set Ruby 2.6 as the global default rbenv global 2.6.0 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Oct 23, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.5, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.5.3 --verbose # Set Ruby 2.5 as the global default rbenv global 2.5.3 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Apr 3, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.5, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.5.1 --verbose # Set Ruby 2.5 as the global default rbenv global 2.5.1 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Dec 28, 2017 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ #!/bin/bash # -------------------------------------------------------------------------------------------- # Installs Ruby 2.5 using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby 2.5 using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" @@ -49,11 +49,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.5, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.5.0 --verbose # Set Ruby 2.5 as the global default rbenv global 2.5.0 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Sep 19, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.4, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.4.2 --verbose # Set Ruby 2.4 as the global default rbenv global 2.4.2 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Apr 8, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.4, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.4.1 --verbose # Set Ruby 2.4 as the global default rbenv global 2.4.1 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Mar 4, 2017 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ #!/bin/bash # -------------------------------------------------------------------------------------------- # Installs Ruby 2.4 using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh) # -------------------------------------------------------------------------------------------- # Welcome message echo -e " -
blacktm revised this gist
Dec 26, 2016 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ #!/bin/bash # ----------------------------------------------------------------------- # Installs Ruby 2.4 using rbenv/ruby-build on the Raspberry Pi (Raspbian) # # Run from the web: # bash <(curl -s raw_script_url_here) # ----------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby 2.4 using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" @@ -49,11 +49,11 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.4, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.4.0 --verbose # Set Ruby 2.4 as the global default rbenv global 2.4.0 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Nov 21, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.3, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.3.3 --verbose # Set Ruby 2.3 as the global default rbenv global 2.3.3 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Nov 18, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,10 @@ sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.3, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.3.2 --verbose # Set Ruby 2.3 as the global default rbenv global 2.3.2 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Oct 18, 2016 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -38,8 +38,8 @@ EOF # Save to ~/.bashrc echo -e "\n${String}" >> ~/.bashrc # Enable rbenv for current shell eval "${String}" # Install ruby-build as an rbenv plugin, adds `rbenv install` command git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build @@ -58,6 +58,10 @@ rbenv global 2.3.1 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc # Reminder to reload the shell echo -e "\nReload the current shell to get access to rbenv using:" echo " source ~/.bashrc" # Print the time elapsed ELAPSED_TIME=$(($SECONDS - $START_TIME)) echo -e "\nFinished in $(($ELAPSED_TIME/60/60)) hr, $(($ELAPSED_TIME/60%60)) min, and $(($ELAPSED_TIME%60)) sec\n" -
blacktm revised this gist
Oct 6, 2016 . 1 changed file with 13 additions and 14 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,13 +7,12 @@ # bash <(curl -s raw_script_url_here) # ----------------------------------------------------------------------- # Welcome message echo -e " This will install Ruby 2.3 using rbenv/ruby-build. It will take about 2 hours to compile on the original Raspberry Pi, 35 minutes on the second generation, and 16 minutes on the third.\n" # Prompt to continue read -p " Continue? (y/n) " ans @@ -36,19 +35,19 @@ export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" EOF # Save to ~/.bashrc echo -e "\n${String}" >> ~/.bashrc # Reload current shell source ~/.bashrc # Install ruby-build as an rbenv plugin, adds `rbenv install` command git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build # Install dependencies # See: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment sudo apt update sudo apt install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.3, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.3.1 --verbose @@ -57,8 +56,8 @@ CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.3.1 --ver rbenv global 2.3.1 # Don't install docs for gems (saves lots of time) echo "gem: --no-document" > ~/.gemrc # Print the time elapsed ELAPSED_TIME=$(($SECONDS - $START_TIME)) echo -e "\nFinished in $(($ELAPSED_TIME/60/60)) hr, $(($ELAPSED_TIME/60%60)) min, and $(($ELAPSED_TIME%60)) sec\n" -
blacktm revised this gist
Apr 26, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -51,10 +51,10 @@ sudo apt-get update sudo apt-get install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev # Install Ruby 2.3, don't generate RDoc to save lots of time CONFIGURE_OPTS="--disable-install-doc --enable-shared" rbenv install 2.3.1 --verbose # Set Ruby 2.3 as the global default rbenv global 2.3.1 # Don't install docs for gems (saves lots of time) echo -e "gem: --no-document" > ~/.gemrc -
blacktm revised this gist
Jan 1, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ eval "${String}" git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build # Install dependencies # See: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment sudo apt-get update sudo apt-get install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev -
blacktm revised this gist
Jan 1, 2016 . No changes.There are no files selected for viewing
NewerOlder