homebrew

Installing Sqlite3 for Ruby (Mac OSX 10.5.8)

爷,独闯天下 提交于 2019-12-07 14:37:08
问题 I am following this guide ATM - http://guides.rubyonrails.org/getting_started.html#getting-up-and-running-quickly-with-scaffolding When trying to create a database, I got: Morgans-Computer:blog Morgan$ rake db:create Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile. Run bundle install to install missing gems. When I try to run 'bundle install', I get more errors: Installing sqlite3 (1.3.4) with native extensions /Users/Morgan/.rvm/rubies/ruby-1.9.2-p290/lib

What's the migration from homebrew/dupes to homebrew/core?

一个人想着一个人 提交于 2019-12-07 12:57:46
问题 I want to install screen , but what should I do next? $ brew search screen imgur-screenshot screen screenfetch screenresolution caskroom/drivers/casio-screen-receiver caskroom/cask/screen-blacker caskroom/cask/show-my-screen caskroom/cask/syphon-virtual-screen If you meant "screen" specifically: It was migrated from homebrew/dupes to homebrew/core. 回答1: homebrew/dupe is now deprecated all its formula have been migrated to the main repository ( homebrew/core ). As screen is now in homebrew

OpenSSL can't load library with gem rubygems or brew or bundle

℡╲_俬逩灬. 提交于 2019-12-07 11:19:55
问题 I use brew 0.9.5, which with I installed rbenv 0.4.0 and ruby-build for a ruby 2.1.2. Haven't touched anything since a while, and after few osx updates : bundle Gives : /usr/local/Cellar/rbenv/versions/2.1.2/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/usr/local/Cellar/rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/digest/sha1.bundle, 9): Library not loaded: @@HOMEBREW_PREFIX@@/opt/openssl/lib/libcrypto.1.0.0.dylib (LoadError) Referenced from:

MongoDB installed via Homebrew not working

血红的双手。 提交于 2019-12-07 11:08:53
问题 I installed MongoDB via Homebrew (following http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/) but it's not working. Typing "mongod" at shell prompt gives me: -bash: mongod: command not found Not sure if I need to add something for Homebrew to my PATH env var? I can see Mongo is installed under /usr/local/Cellar/mongodb – but am assuming I don't need to add everything I install via homebrew to the path? Also assuming I can run mongod from any directory or am I actually meant to

Homebrew - repeated “linking” bug. What is the underlying issue here?

你说的曾经没有我的故事 提交于 2019-12-07 09:42:53
问题 So I've been using homebrew to install various packages/libraries/programs on my mac. I keep running into a problem in which homebrew tells me that I have unlinked kegs in my Cellar. For instance, upon running brew install phantomjs I received the following message: Warning: Could not link phantomjs. Unlinking... Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using `brew link phantomjs' Possible conflicting

Unable to `gem install tiny_tds` OS X Mavericks

喜欢而已 提交于 2019-12-07 09:03:09
问题 The Error $ sudo gem install tiny_tds Building native extensions. This could take a while... ERROR: Error installing tiny_tds: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb checking for iconv_open() in iconv.h... no checking for iconv_open() in -liconv... yes checking for sybfront.h... yes checking for sybdb.h... yes checking for tdsdbopen() in -lsybdb... no HomeBrew The above error occurs even after a $ brew

how to install brew or homebrew on mac os 10.6

孤街醉人 提交于 2019-12-07 08:37:21
I have tried multiple times. Can anybody tell me exact detailed steps? My mac os is 10.6.8. It complains about some missing packages. Use this to install on Mac OSX 10.6.8 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Ashish I got it working now following command /usr/bin/ruby -e "$(curl -fsSL raw.github.com/gist/323731)" . I was running the mkdir homebrew && curl -L github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew I have no idea what the two are doing though This are my results on OSX 1068: ruby -v ruby 2.3.0p0 (2015-12-25

Laravel - Valet 2.* only returns 'it works!'

浪子不回头ぞ 提交于 2019-12-07 08:09:22
问题 I'm trying to setup Valet to use with my Laravel projects, but ran into the problem mentioned in the title. The current version of Valet I'm running is 2.0.3. So far this is what I've tried: Reinstalled valet + restart Reinstalled php7.0 --with-fpm Restarted nginx Updated composer global Installed and ran mysql through brew Installed and started dnsmasq Restarted all services + started all services via Brew Parked valet in different folders, but getting the same 'it works!' I've looked at

Laravel Migration stalls and doesn't do anything

与世无争的帅哥 提交于 2019-12-07 07:32:38
问题 Just went through all the steps listed on the Laravel site to install and get up and running for MacOS HighSierra . I currently have Composer, Homebrew, valet, PHP 7.2.8, MySQL version 8.0.11 and Laravel 5.6.28 installed. I can create a new project by doing the Laravel new blog command and not have any problems. Also when I go to my browser I can see current project I just created or am working on. I can run the valet list command and so I know its running/working. I also can create a

Brew linking with ImageMagick

梦想的初衷 提交于 2019-12-07 06:51:56
问题 Installing: ostaptan:~ ostap$ brew install imagemagick --disable-openmp --from-source ==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.7.7-6.tar.bz2 Already downloaded: /Library/Caches/Homebrew/imagemagick-6.7.7-6.tar.bz2 ==> Patching patching file configure Hunk #1 succeeded at 32371 (offset 447 lines). ==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.7-6 --enable-shared --disable-static ==> make install