Hopefully this tutorial will help you get up and running with a Ruby on Rails 6.1 development environment lightning fast and pain free. brew doctor /Library/Ruby/Site/2.0.0/rubygems/version.rb:191:in strip': can't modify frozen String (RuntimeError) from /Library/Ruby/Site/2.0.0/rubygems/version.rb:191:in initialize' from -e:1:in new' from -e:1:in Redis, Elasticsearch, and ImageMagick can all be managed through asdf. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. If youre developing multiple Ruby applications, you should consider one of. A tag already exists with the provided branch name. The funny thing is, my builds just stopped working all of the sudden, without any change to. If youre using Ruby to run a few scripts then using the Homebrew version is enough. It doesn’t have to end here though! Checkout asdf’s plugin list for all available plugins. So I assume the issue here is that ruby is on version 2.0, which I confirmed with ruby -version. It can also install software not packaged for your Linux distribution without requiring sudo. I am sure there are ways to improve this and I would love to hear any optimizations you come up with! SYNOPSIS brew -version brew command -verbose -v options formula DESCRIPTION Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS. $HOME/.asdf/installs/postgres/13.2/bin/pg_ctl -D $HOME/.asdf/installs/postgres/13.2/data -l logfile start $(brew -prefix asdf ) /asdf.sh" > ~/.zshrcĮcho 'legacy_version_file = yes' > ~/.asdfrcīash -c '`$/plugins/nodejs/bin/import-release-team-keyring' Running brew install colordiff gave me an error message related to 3240, but only once. Created on 8 Comments Source: Homebrew/brew. Ruby versions 2.0 and above are included by default in macOS releases since at least El. If you have completed all of the above steps, you should be able to now run nifi run and get something similar to below./bin/bash -c " $(curl -fsSL ) " echo 'export PATH="/usr/local/sbin:$PATH"' > ~/.zshrcīrew install coreutils curl git gpg gawk zsh yarn asdfĮcho -e " \n. brew install failed one time with 'Homebrew must be run under Ruby 2.3' on Ruby 2.4, now works fine. This should install the latest stable Ruby version. usr/libexec/java_home -V – list all versions of Java on the machineīrew tap caskroom/versions – allow brew to lookup versionsīrew cask install java8 – install java8 (if you haven’t already)īrew cask uninstall java – get rid of the default java9 (not strictly required)Įxport JAVA_HOME=$(/usr/libexec/java_home -v1.8) – set JAVA_HOME to java8 A better alternative to using the system Ruby is to install Ruby with RVM, the Ruby Version Manager. Homebrew must be run under Ruby 2.3 (RuntimeError) brew ruby 2.3 ruby Ruby ruby -version ruby 2.0.0p481 ( revision 45883) universal. You will need to take the following steps to delete java9 and switch to java8: You can check your java version with java -version. You need to have the Xcode Command Line Utilities installed (and updated): run xcode-select -install in the terminal. What you were trying to do (and why) Deleted brew to perform a fresh installation as brew installed sqlite3 needed an upgrade but I could not update it due to ruby upgrade issue What happened (incl. brew install failed one time with 'Homebrew must be run under Ruby 2.3' on Ruby 2. Next up, try running NiFi via nifi run- I’m getting this error: WARN .Command Launched Apache NiFi but could not determined the Process ID.Īfter some Googling, I determined that we need java8 for NiFi, not java9 (which Homebrew installs by default). brew - brew install failed one time with 'Homebrew must be run under Ruby 2.3' on Ruby 2.4, now. Nifi: Java 1.8+ is required to install this formula.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |