macOS Big Sur: Flutter Error – “dart” can’t be opened because Apple cannot check it for malicious software.

After installing macOS Big Sur, you may run into issues getting Flutter set back up for development. Due to the security enhancements added to Catalina and increased in Big Sur, you may run into macOS blocking the execution of some development tools like Flutter and Dart.

If you run into the error message: “dart” can’t be opened because Apple cannot check it for malicious software.

You simply need to:

  1. Open system preferences/Security & Privacy/General
  2. Unlock by clicking the clock in the bottom left and enter your admin password
  3. Where it has the warning that “dart” was blocked, click “allow anyway”

Tech Tutorial: Learning Node.js for JavaScript Programming – Complete Playlist

Being that JavaScript was written as a scripting language for the browser and lived within browsers only for about 15 years, it was quite the surprise when the developers of Node.js moved it to the desktop/server. Node.js is the Chrome V8 JavaScript execution environment pulled out of the Chrome browser and modified to run directly on computers, whether those computers be desktops, laptops, or servers, it really doesn’t matter, JavaScript now runs everywhere.

As soon as JavaScript could be executed on computers it opened up new possibilities. Probably the best thing to happen was that web developers could now use JavaScript program their web applications from the back-end all the way to the front-end, it was no longer simply a scripting language for the browser. No longer do web developers need to know other programming languages or rely on other developers who do to build their back-end server-base systems, it can all be done in JavaScript.

In this technical tutorial series, you learn the basics of the Node.js JavaScript execution environment and you write your first Node.js application that can be executed on your computer, not your browser.

Tech Tutorial: Learn to Program with JavaScript – Complete Playlist

JavaScript is an amazing technology and without it the Internet would be a pretty boring place full of static HTML pages. In this technical tutorial series, you will learn the basics of programming while at the same time learning one of the most versatile programming languages in existence. After you master the concepts taught in this series, you may even be able to change your life and become a web developer. All you have to do is give it a try…

Ubuntu + Rmagick + Gem


If you run into trouble installing Rmagick on Ubuntu, it is most likely because you do not have the dev libraries installed that are needed by the rmagick Ruby Gem. Run the following commands in your terminal and everything should work fine.

sudo apt-get install graphicsmagick-libmagick-dev-compat
sudo apt-get install imagemagick
sudo apt-get install libmagickcore-dev
sudo apt-get install libmagickwand-dev
gem install rmagick

Rails 4: gem install pg (when using the Postgresql App on OS X)

If you are getting a build error from Gem when trying to install the PostgreSQL gem called ‘pg’ and you are using the PostgreSQL App instead of installing PostgreSQL via Brew or some other method, it is because Gem cannot find the PostgreSQL config in the standard locations. To correct this you need to provide Gem with the path to the config file stored within the PostgreSQL App’s internal folder structure.

This can be done as follows:

gem install pg -- --with-pg-config=/Applications/

<update: for latest versions of>

gem install pg -- --with-pg-config=/Applications/

Another way to accomplish this is:

export CONFIGURE_ARGS=”with-pg-include=/Applications/”
gem install pg

Note: the latest version of the PostgreSQL App, at the time of this writing was 9.4, your version may be different. Make sure you change the 9.4 in the config path in the command above to the one you are using or it will not work. You can verify the path by opening Finder, going to the Applications folder, locating, right clicking and selecting ‘show package contents’. This will open up the app’s folder structure in Finder.