BREW

Error installing Ruby in Yosemite

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have recently updated my OS X to 10.10 and since then facing issue installing ruby through RVM. There is a dependency on gcc46 which I am unable to resolve. Any help is appreciated. Below is the error stack. rvm reinstall ruby-1.9.3-p547 ruby-1.9.3-p547 - #removing src/ruby-1.9.3-p547 - please wait ruby-1.9.3-p547 - #removing rubies/ruby-1.9.3-p547 - please wait Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.10/x86_64/ruby-1.9.3-p547. Continuing with compilation. Please read 'rvm help mount'

how to install phalcon.so in mac os

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have installed phalcon extension.It was installed successfully but the phalcon command not working. following Error shown. "iMac:project Atomix$ phalcon -sh: phalcon: command not found" I have Followed instruction from Phalcon official website.it works on windows and Linux perfectly but not in mac os. 回答1: Install Phalcon in Mac OS X from Scratch Keep in mind that Phalcon is a PHP Framework that improves the power of PHP, it means that Phalcon needs an Apache Web Server running PHP and a couple things more. Also Phalcon provides a

psql: could not connect to server: No such file or directory (Mac OS X)

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Upon restarting my Mac I got the dreaded Postgres error: psql : could not connect to server : No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432" ? The reason this happened is because my macbook froze completely due to an unrelated issue and I had to do a hard reboot using the power button. After rebooting I couldn't start Postgres because of this error. 回答1: WARNING: If you delete postmaster.pid without making sure there are really no postgres

Homebrew install libxml2 with python modules

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Good morning, I'm trying to install libxml2 with python modules. I have tried the following: brew install --with-python libxml2 ==> Downloading ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz Already downloaded: /Users/brandon/Library/Caches/Homebrew/libxml2-2.8.0.tar.gz ==> ./configure --prefix=/usr/local/Cellar/libxml2/2.8.0 --without-python As you can see... even with the --with-python flag, it is still configuring the source without python! At the end of the install, homebrew says: Generally there are no consequences of this for you. If

brew install nginx fails to link

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am attempting to install nginx using the brew package manager, but it fails to link. How can I fix this? roc-web5537:Downloads cmuench$ brew install nginx Warning: Your Xcode (4.3.3) is outdated Please install Xcode 4.5. ==> Installing nginx dependency: pcre ==> Downloading ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.31.tar.bz2 Already downloaded: /Library/Caches/Homebrew/pcre-8.31.tar.bz2 ==> ./configure --prefix=/usr/local/Cellar/pcre/8.31 --enable-utf8 --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep

gitk: command not found

匿名 (未验证) 提交于 2019-12-03 02:51:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Environment: Mac OSX 10.10. When I was trying to use gitk , it shows: Coda-2:~ Coda$ gitk -bash: gitk: command not found I think the reason is the old version of git . Here is some information, and I have already typed brew update . Coda-2:~ Coda$ git --version git version 1.9.3 (Apple Git-50) Coda-2:~ Coda$ brew install git Warning: git-2.4.0 already installed, it's just not linked What is this message: it's just not linked ? Furthermore, I check the path of git : Coda-2:~ Coda$ which git /usr/bin/git It should be in /usr/bin/local/git ?

Can't `brew link` an unlinked keg

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: $: which node $: node -bash: node: command not found $: brew install node Error: node-0.6.18 already installed $: brew doctor Error: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. node $: brew link node Error: No such file or directory - /usr/local/Cellar/node/0.6.5 $: brew uninstall node Error: No such file or directory - /usr/local/Cellar/node/0.6.5 $: brew install node Error: node-0.6.18 already installed How do I get my

ImportError: cannot import name HTTPSHandler using PIP

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Facing an HTTPSHandler error while installing python packages using pip, following is the stack trace, -------- desktop :~ $ pip install Django == 1.3 Traceback ( most recent call last ): File "/home/env/.genv/bin/pip" , line 9 , in load_entry_point ( 'pip==1.4.1' , 'console_scripts' , 'pip' )() File "/home/env/.genv/lib/python2.7/site-packages/pkg_resources.py" , line 378 , in load_entry_point return get_distribution ( dist ). load_entry_point ( group , name ) File "/home/env/.genv/lib/python2.7/site-packages/pkg_resources.py" ,

Error installing gem capybara-webkit

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new to ruby, but while trying to install capybara to run test on my system I get the following error. Im running OSX my_app$ gem install capybara-webkit Building native extensions. This could take a while... ERROR: Error installing capybara-webkit: ERROR: Failed to build gem native extension. /Users/joe/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb Gem files will remain installed in /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2 for inspection. Results logged to /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/capybara

brew update failure while executing git checkout

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: After an interrupted brew update because of a network issue, Homebrew appears to be broken: $ brew update error: pathspec 'master' did not match any file(s) known to git. Error: Failure while executing: git checkout -q master Looking at the /usr/local Git repository, there's no remote repository. $ cd `brew --prefix` $ git remote -v $ 回答1: Fixed with the following commands: $ cd `brew --prefix` $ git remote add origin https://github.com/Homebrew/homebrew.git $ git fetch origin $ git reset --hard origin/master $ brew update Already up-to-date