Trouble getting homebrew working on Mountain Lion


This has been happening for a while (a few years now) – it used to work fine, then after updating to OS X 10.8.5 (years ago), when I went to use it again I found that it had died. My brew stopped working. Finally tonight I decided to try to get it working as I need to install stlink, for an STLink v2 that I have purchased for a couple of STM32 based DIY oscilloscope projects (STM32-O-Scope (see Pocket ‘scope) and Miniscope).

The issue that I am having is

localhost:~ user$ /usr/bin/ruby -e "$(curl -fsSL"
-e:224: syntax error, unexpected '.', expecting $end
               .map { |d| File.join(HOMEBREW_PREFIX, d) }

Continue reading Trouble getting homebrew working on Mountain Lion

Antiquated OS X


How does one get hold of an older version of OS X? There are dodgy google drive links available on eBay, from Russia (with love) for £3, or a shop in Fortune Town that offers pirated DVDs for £6. None of which are particularly good, or trustworthy, options.

The AppStore would be the best and safest option, but it is not cheap, and if you haven’t already purchased Mountain Lion when it was available, then it will not show up.

So, you have to buy direct from Apple (see links below), for $20. Or try to find a second hand version of a DVD, but on eBay they generally go for more than $20, when postage is included.

However, post-Snow Leopard, the OSes were more commonly released on USB sticks. Also, to install Lion or Mountain Lion, you need to be running Snow Leopard or Lion (respectively), so it seems that you need both the Snow Leopard DVD and then the binary of Mountain Lion – this is getting long winded and pricey…

Continue reading Antiquated OS X

CH340 on OS X


I wrote a long winded post that did not really answer the question, Can’t connect Cura to my Anet A8 on OSX 10.11.6, but rather catalogued my search for a solution to my own problem.

With respect to this post Should I clean up my answer?, I decided to delete my answer and keep the information here, in this article.

Continue reading CH340 on OS X