homebrew

jmeter is not downloading using brew in mac osx

旧时模样 提交于 2019-12-12 15:45:11
问题 I tried to install jmeter by following this question but I fail and got below error $ brew install jmeter ==> Downloading http://www.apache.org/dyn/closer.cgi?path=jmeter/binaries/apache-jmeter-2.11.tgz ==> Best Mirror http://mirror.cogentco.com/pub/apache/jmeter/binaries/apache-jmeter-2.11.tgz curl: (22) The requested URL returned error: 404 Not Found Error:Failed to download resource "jmeter" Download failed: http://mirror.cogentco.com/pub/apache/jmeter/binaries/apache-jmeter-2.11.tgz Why

Cannot install XML package in R/RStudio

随声附和 提交于 2019-12-12 13:00:16
问题 [Environment: macOS 10.12.6, RStudio 1.1.383, R 3.4.2 (via homebrew)] Please note this is not a duplicate of this question - solutions there do not work for me. I am getting install errors when I attempt to install the XML package in RStudio: > install.packages("XML") Installing package into ‘/usr/local/lib/R/3.4/site-library’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/src/contrib/XML_3.98-1.9.tar.gz' Content type 'application/x-gzip' length 1599437 bytes (1.5 MB) ========

Homebrew / TinyTDS / FreeTDS bundle error

我怕爱的太早我们不能终老 提交于 2019-12-12 10:46:15
问题 I used homebrew (linux port) to install freeTDS and am trying to deploy /bundle install my app with gem tinytds. I get this error output when doing bundle install Installing tiny_tds (0.5.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/deployer/.rbenv/versions/1.9.2-p290/bin/ruby extconf.rb /usr/bin/ld: /opt/homebrew/lib/libsybdb.a(dblib.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;

How to uninstall homebrew?

和自甴很熟 提交于 2019-12-12 10:08:30
问题 I installed homebrew today without really knowing what I was doing, and now my scikit-learn package is broken. I want to undo everything that I did by uninstalling homebrew, and tried following the tips here: https://github.com/Homebrew/homebrew/wiki/FAQ However, I think homebrew installed into /usr/bin/local, and not /usr/bin/, so I'm not sure I can use the instructions in the link. When I initially installed homebrew ( ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go

Unable to 'brew link' imagemagick

拟墨画扇 提交于 2019-12-12 09:36:31
问题 I'm trying to install Imagemagick via brew, and I get this message upon installation: Warning: imagemagick-6.8.6-3 already installed, it's just not linked When I attempt to link it via brew link, I get this: brew link imagemagick Warning: Could not link imagemagick. Unlinking... Linking /usr/local/Cellar/imagemagick/6.8.6-3... Error: File exists - /usr/local/etc Ideas?? I've tried: 'brew link -f imagemagick' without luck (I get the same error message as above). It was suggested here: Brew

Cannot find node-gyp

ぐ巨炮叔叔 提交于 2019-12-12 08:58:27
问题 I installed node v0.8.22 with homebrew. I have my node binary in /usr/local/bin/ but I need to recompile a node add-on with node-gyp but it cannot seem to find it in my PATH . I tried running npm install -g node-gyp but it's still not in my path. I noticed that npm -g installs everything into /usr/local/share/npm/bin/ . Does this mean I need to add this to my PATH ? 回答1: As j_mcnally recommends, you should try adding /usr/local/share/npm/bin/ to your path. There should be a symlink to node

brew update broke something?

蹲街弑〆低调 提交于 2019-12-12 08:45:33
问题 Homebrew was working fine and normal till I did a brew update (haven't update for months). After brew update was finished, every brew command results in the same/similar error message: /usr/local/Library/Homebrew/global.rb:6:in `require': no such file to load -- set (LoadError) from /usr/local/Library/Homebrew/global.rb:6 from /usr/local/bin/brew:17:in `require' from /usr/local/bin/brew:17 I checked the directory and it seems like the homebrew files are there. It is just not loading the file

How to install Git with PCRE support on OSX with homebrew?

孤街浪徒 提交于 2019-12-12 08:33:14
问题 When I run $ git grep -P "<pattern>" I get the following error: fatal: cannot use Perl-compatible regexes when not compiled with USE_LIBPCRE How can I install Git with PCRE support for OSX properly? 回答1: With homebrew, just use brew reinstall --with-pcre2 git It forces to build git from source instead of downloading the bottle, but ensures that the updates will be done with the pcre support. 回答2: Homebrew ships Git with a pre-built version (bottle) by default. You need to compile Git from

RVM Requiremets tries to tap deprecated homebrew/versions

…衆ロ難τιáo~ 提交于 2019-12-12 08:15:58
问题 I'm trying to get a Ruby on Rails project running on my Mac OS Sierra (10.13.3) machine. When I navigate to the Rails folder, RVM tells me the following: Required ruby-1.9.3-p392 is not installed. To install do: 'rvm install "ruby-1.9.3-p392"' However, when I do that install, I get the following: $ rvm install "ruby-1.9.3-p392" Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.13/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm

socket.gethostbyname unable to find local hostname after updating to mac osx sierra

馋奶兔 提交于 2019-12-12 05:09:02
问题 After updating to OS Sierra, I tried running my local test suite with rspec spec , this immediately broke giving this stack trace: Coverage report generated for RSpec to /Users/October/Documents/code/clients-api/coverage. 38 / 101 LOC (37.62%) covered. /Users/October/.rvm/gems/ruby-2.3.1@clients-api/gems/bundler-1.13.2/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'torid'. (Bundler::GemRequireError) Gem Load Error is: