Skip to content

Instantly share code, notes, and snippets.

@MichaelCurrin
Last active February 21, 2025 05:53
Show Gist options
  • Select an option

  • Save MichaelCurrin/3af38fca4e2903cdedfb8402c18b2936 to your computer and use it in GitHub Desktop.

Select an option

Save MichaelCurrin/3af38fca4e2903cdedfb8402c18b2936 to your computer and use it in GitHub Desktop.

Revisions

  1. MichaelCurrin revised this gist May 29, 2021. 1 changed file with 1 addition and 6 deletions.
    7 changes: 1 addition & 6 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,6 @@
    **Install Ruby and Bundler at the user level**

    Deprecated in favor of: [gist](https://gist.github.com/MichaelCurrin/fb758aea4d35e03b9ed093afddf4e7ec).

    Links:

    - Ruby - [ruby-lang.org](https://www.ruby-lang.org)
    - Bundler - [bundler.io](https://bundler.io/)
    _Deprecated in favor of: [gist](https://gist.github.com/MichaelCurrin/fb758aea4d35e03b9ed093afddf4e7ec)._

    Steps:

  2. MichaelCurrin revised this gist May 29, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    **Install Ruby and Bundler at the user level**

    Deprecated in favor of: [gist](https://gist.github.com/MichaelCurrin/fb758aea4d35e03b9ed093afddf4e7ec).

    Links:

    - Ruby - [ruby-lang.org](https://www.ruby-lang.org)
  3. MichaelCurrin revised this gist Jan 5, 2021. 1 changed file with 3 additions and 8 deletions.
    11 changes: 3 additions & 8 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -9,16 +9,16 @@ Steps:

    1. Install Ruby at the user level.
    - Install with your package manager.
    - On Debian/Ubuntu using [apt-get][] ([ruby-full][] includes `ruby` and `ruby-dev`):
    - On Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get) ([ruby-full](https://packages.ubuntu.com/groovy/interpreters/ruby-full) includes `ruby` and `ruby-dev`):
    ```sh
    $ sudo apt-get install ruby-full
    ```
    - On macOS using [Homebrew](https://brew.sh/):
    ```sh
    $ brew install ruby
    ```
    - Other - follow the official [Ruby Installation][] guide.
    - More details are available in my [Ruby install guide][] including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    - Other - follow the official [Ruby Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems) guide.
    - More details are available in my [Ruby install guide](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade) including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    2. Install Bundler at the user level. _The flag at the end is necessary to install in `~/.gem` for your user. And also avoids having to use `sudo` to overcome a permissions error._
    ```sh
    $ gem install bundler --user-install
    @@ -27,8 +27,3 @@ Steps:
    ```sh
    $ bundle --version
    ```

    [ruby-full]: https://packages.ubuntu.com/groovy/interpreters/ruby-full
    [Ruby Installation]: https://www.ruby-lang.org/en/documentation/installation/#package-management-systems)
    [Ruby install guide]: https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade
    [apt-get]: https://linux.die.net/man/8/apt-get
  4. MichaelCurrin revised this gist Jan 4, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -9,15 +9,15 @@ Steps:

    1. Install Ruby at the user level.
    - Install with your package manager.
    - On Debian/Ubuntu using [apt-get][] p([ruby-full][] includes `ruby` and `ruby-dev`):
    - On Debian/Ubuntu using [apt-get][] ([ruby-full][] includes `ruby` and `ruby-dev`):
    ```sh
    $ sudo apt-get install ruby-full
    ```
    - On macOS using [Homebrew](https://brew.sh/):
    ```sh
    $ brew install ruby
    ```
    - Other - follow the offical [Ruby Installation][] guide.
    - Other - follow the official [Ruby Installation][] guide.
    - More details are available in my [Ruby install guide][] including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    2. Install Bundler at the user level. _The flag at the end is necessary to install in `~/.gem` for your user. And also avoids having to use `sudo` to overcome a permissions error._
    ```sh
  5. MichaelCurrin revised this gist Jan 4, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -29,6 +29,6 @@ Steps:
    ```

    [ruby-full]: https://packages.ubuntu.com/groovy/interpreters/ruby-full
    [Ruby Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems)
    [Ruby Installation]: https://www.ruby-lang.org/en/documentation/installation/#package-management-systems)
    [Ruby install guide]: https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade
    [apt-get]: https://linux.die.net/man/8/apt-get
  6. MichaelCurrin revised this gist Jan 4, 2021. 1 changed file with 9 additions and 4 deletions.
    13 changes: 9 additions & 4 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -9,21 +9,26 @@ Steps:

    1. Install Ruby at the user level.
    - Install with your package manager.
    - On Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get) (includes `ruby` and `ruby-dev`):
    - On Debian/Ubuntu using [apt-get][] p([ruby-full][] includes `ruby` and `ruby-dev`):
    ```sh
    $ sudo apt-get install ruby-full
    ```
    - On macOS using [Homebrew](https://brew.sh/):
    ```sh
    $ brew install ruby
    ```
    - Other - follow the Ruby website's [Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems) guide.
    - More details are available in this [Ruby install guide](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade), including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    - Other - follow the offical [Ruby Installation][] guide.
    - More details are available in my [Ruby install guide][] including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    2. Install Bundler at the user level. _The flag at the end is necessary to install in `~/.gem` for your user. And also avoids having to use `sudo` to overcome a permissions error._
    ```sh
    $ gem install bundler --user-install
    ```
    3. Confirm installation. _Note bundler and bundle are equaivelent._
    ```sh
    $ bundle --version
    ```
    ```

    [ruby-full]: https://packages.ubuntu.com/groovy/interpreters/ruby-full
    [Ruby Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems)
    [Ruby install guide]: https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade
    [apt-get]: https://linux.die.net/man/8/apt-get
  7. MichaelCurrin revised this gist Jan 4, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ Steps:

    1. Install Ruby at the user level.
    - Install with your package manager.
    - On Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get):
    - On Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get) (includes `ruby` and `ruby-dev`):
    ```sh
    $ sudo apt-get install ruby-full
    ```
  8. MichaelCurrin revised this gist Oct 16, 2020. No changes.
  9. MichaelCurrin revised this gist Oct 12, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    **How to install Ruby and Bundler at the user level**
    **Install Ruby and Bundler at the user level**

    Links:

  10. MichaelCurrin revised this gist Sep 12, 2020. 1 changed file with 8 additions and 4 deletions.
    12 changes: 8 additions & 4 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -9,17 +9,21 @@ Steps:

    1. Install Ruby at the user level.
    - Install with your package manager.
    - Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get):
    - On Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get):
    ```sh
    $ sudo apt-get install ruby-full
    ```
    - macOS using [Homebrew](https://brew.sh/):
    - On macOS using [Homebrew](https://brew.sh/):
    ```sh
    $ brew install ruby
    ```
    - Other - follow the Ruby website's [Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems) guide.
    - More details are available in this [Ruby install guide](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade), including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    2. Install Bundler at the user level.
    ```bash
    2. Install Bundler at the user level. _The flag at the end is necessary to install in `~/.gem` for your user. And also avoids having to use `sudo` to overcome a permissions error._
    ```sh
    $ gem install bundler --user-install
    ```
    3. Confirm installation. _Note bundler and bundle are equaivelent._
    ```sh
    $ bundle --version
    ```
  11. MichaelCurrin revised this gist May 25, 2020. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,16 @@ Links:
    Steps:

    1. Install Ruby at the user level.
    - Follow the Ruby website's [Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems) guide.
    - Install with your package manager.
    - Debian/Ubuntu using [apt-get](https://linux.die.net/man/8/apt-get):
    ```sh
    $ sudo apt-get install ruby-full
    ```
    - macOS using [Homebrew](https://brew.sh/):
    ```sh
    $ brew install ruby
    ```
    - Other - follow the Ruby website's [Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems) guide.
    - More details are available in this [Ruby install guide](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade), including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    2. Install Bundler at the user level.
    ```bash
  12. MichaelCurrin created this gist May 1, 2020.
    16 changes: 16 additions & 0 deletions install_ruby_bundler.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    **How to install Ruby and Bundler at the user level**

    Links:

    - Ruby - [ruby-lang.org](https://www.ruby-lang.org)
    - Bundler - [bundler.io](https://bundler.io/)

    Steps:

    1. Install Ruby at the user level.
    - Follow the Ruby website's [Installation](https://www.ruby-lang.org/en/documentation/installation/#package-management-systems) guide.
    - More details are available in this [Ruby install guide](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md#install-and-upgrade), including how to set `PATH` on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
    2. Install Bundler at the user level.
    ```bash
    $ gem install bundler --user-install
    ```