With Ruby 3.0 being out in the wild for over a month now I thought it was time to post about updating to Ruby 3.0 via Brew.

In my previous posts we setup our dev enviroment using Homebrew with this we will be using to manage our Ruby versions.


MacOS Big Sur 11.1 is out, but so are updates to the likes of Xcode. You may come across an issue where Git is missing. If so, you maybe seeing a similar message to this…

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Simply put this means that you need to install Xcode command line tools again. To do this simply open a Terminal window and run the following command:

$ xcode-select — install 

Note: If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/


So where do I start.

For sometime now Apple has offered a 14-day refund policy in the EU (and UK) as shown below in the quote below from the Apple Media Services Terms and Conditions(Correct on Nov 30, 2020).

Right of cancellation: If you choose to cancel your order, you…


macOS Big Sur is out now. My previous setup tutorials seemed to help a few people setting up their Rails environment, I decided to write this updated version to help you setup your Rails enviroment on macOS Big Sur.

You will need to use the mac’s build in terminal, or…


It doesn’t matter if you’re a homeowner, tenant, landlord or even if you live at home with your parents, there are many things you can do to reduce how much energy you use and how much is spent.

In the last few months due to the COVID-19 pandemic, it has…


I was working with the ShopifyAPI, and developing an app which utilised the REST API, and connected up to a development store.

Then I came across an issue, the REST API was very slow to update the large amount of data I was needing to pass updates too. …


On a recent project, I had scraped data from a Spanish site. This data needed to be imported into a Shopify store, but also needed to be translated into English.

After a quick search on Google I found you could translate one cell at a time within Excel. While this…


My previous setup tutorials seemed to help a few people setup their Rails environment so I decided to write this updated version now macOS Catalina has moved over to ZSH as it’s default shell.

Install NodeJS

Before we start you will need to make sure you have installed NodeJS. If you visit…


As we say goodbye to 2019, and we start 2020 its time to start to plan out some goals. I thought I would post mine on Medium, and then revisit the post at the end of 2020 and see how much I was able to achieve.

Finish learning iOS development, and publish my first app.

I started learning iOS…


So in this post we are going to add some color to our terminal of choice, I’m obviously speaking about iTerm 2, but you can add color to others if its supported.

Any way lets begin. Open up iTerm2 and enter . This will open your and allow you to add the following to it.

# bash_profile
if
which rbenv > /dev/null; then eval "$(rbenv init -)"
fi
#Git branch in promp and colours
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export PS1="@\[\033[33;1m\]\w\[\033[m\]:\[\033[36m\]\$(parse_git_branch)\[\033[m\]$ "
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}

With this added you can now visit https://iterm2colorschemes.com and download color schemes to you iTerm2 interface. For me personally i like Afterglow, and i like to keep it clean and simple. As you can see in the screenshot below.

Alan Reid

Hi, I'm Alan! Rails developer, with a passion to create well crafted front-end experiences. Soon to be building awesome iOS apps. Founder of ⌘+SPACE

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store