Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Halfway through installing Ruby through terminal (stuck) - error BASH 3.2.25 required (you have 4.4.12(1)-release

Featured Replies

I am installing Ruby/Ruby on rails following this guide: http://railsapps.github.io/installrubyonrails-mac.html

 

I have got to this part:

 

Install RVM

Use RVM, the Ruby Version Manager, to install Ruby and manage your Rails versions.

If your Mac user name contains a space character, you must change you account name to remove the space.

The RVM website explains how to install RVM. Here’s the simplest way:

$ \curl -L https://get.rvm.io | bash -s stable

 

But when I run this line I get this error:

 

 

BASH 3.2.25 required (you have 4.4.12(1)-release

I have been googling for hours trying to find a fix but I can't seem to find one, every article is about upgrading not downgrading bash to 3.2.25

 

Please help I really want to get my ruby/angular project going! :)

If you're using a Mac then use Homebrew. Don't bother with other peoples install guides, always read the install process on the official site because it stays consistent with any changes in the code and OS.

 

Basically:

You don't need RVM to get started with Ruby. It's recommended because your Mac will ship with Ruby by default, and you don't want the two to conflict. Fortunately, I'm pretty sure Homebrew will install alongside the current version anyway, so they don't mess up. The only thing you can't do is switch between versions of Ruby, but it will be much easier to update going forward.

 

I use Homebrew for pretty much anything like this, for example, Node and Git. It's incredible software that makes updating these things such a breeze.

If you're using a Mac then use Homebrew. Don't bother with other peoples install guides, always read the install process on the official site because it stays consistent with any changes in the code and OS.

 

Basically:

You don't need RVM to get started with Ruby. It's recommended because your Mac will ship with Ruby by default, and you don't want the two to conflict. Fortunately, I'm pretty sure Homebrew will install alongside the current version anyway, so they don't mess up. The only thing you can't do is switch between versions of Ruby, but it will be much easier to update going forward.

 

I use Homebrew for pretty much anything like this, for example, Node and Git. It's incredible software that makes updating these things such a breeze.

 

Are you not using NVM for Node Jack?

Are you not using NVM for Node Jack?

 

Nope, last time I installed it on my older Mac it was super buggy, I think it must have partially downloaded a version of Node, or had permission errors. I don't really have a requirement to change versions, but I can do this with Homebrew anyway. I might look at NVM again if I get a new laptop, but for now it works fine, so it's not worth playing around with.

I had issues on an older version of Mac OS with nvm. Found that "n" worked quite well though, so I used that for a while. Nowadays I use nvm though and it works well for me.

 

I'll have a look into this more when I get a new laptop, at the moment it works fine. Every time I mess around with something like this I end up breaking it and having to spend the day on Stack Overflow hoping someone has an easy fix. I stand by using Homebrew for Git anyway, a lot of people don't upgrade because it can be a bit of a pain, but all I need to do is brew upgrade git and it's done, plus I can roll back to previous versions if needed.

One of the good things with NVM is in individual projects you can create a .nvmrc file to locks that project to a particular node version - super useful when you have a team of devs all running different versions of node. You simply run `nvm use` in that projects root directory and your node version will temporarily switch. This way your node version will be synced with what's on staging and production and your teams machines.

 

Can always take things a step further with Docker though to make sure everything in that regard (OS, dependencies) is managed in a single place.

Edited by rbrtsmith

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.