osx-mavericks

npm ERR! invalid: strip-ansi@0.2.2

爱⌒轻易说出口 提交于 2019-12-01 05:45:48
After upgrading node using brew upgrade node : $ node -v v0.10.30 I do a npm update -g : $ npm -v 1.4.23 There is a ERR when npm ls -g : npm ERR! invalid: strip-ansi@0.2.2 /usr/local/lib/node_modules/npm/node_modules/columnify/node_modules/strip-ansi npm ERR! not ok code 0 How can I fix the error? Fixed by: npm install -g npm Source: https://github.com/npm/npm/issues/5913 来源: https://stackoverflow.com/questions/25238544/npm-err-invalid-strip-ansi0-2-2

python -v prints out garbage

泪湿孤枕 提交于 2019-12-01 05:10:43
问题 It looks like python works perfectly... $ python Python 2.7.8 (default, Aug 24 2014, 21:26:19) [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> But python -v prints out all sorts of junk: $ python -v # installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.pyc matches /usr/local/Cellar

Error when installing libv8 3.11.8.3

随声附和 提交于 2019-12-01 04:03:14
I'm running fresh install of OSX 10.9 Mavericks and XCode 5.0.1. When i'm trying to run bundle install in my project it fails on installing libv8 gem. Here's the output: ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/user1/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb creating Makefile Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Unable to find a compiler officially supported by v8. It is recommended to use GCC v4.4 or higher Using compiler: g++ /Applications/Xcode.app/Contents

Error in Sandboxed App, When loading Helper (LoginItems), code signing issue

末鹿安然 提交于 2019-12-01 03:46:50
I'm trying to get out of this problem (I hope it's the last!) Briefly, I have one status bar app, which needs to start at login. I followed this tutorial http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/ Everything it's working, but when it's time for testing the app in a real contest, outside xcode, I end up with this message in the console system.log: appleeventsd[52]: <rdar://problem/11489077> A sandboxed application with pid 1258, "xxxxx" checked in with appleeventsd, but its code signature could not be validated ( either because it was corrupt, or could not be

Install Calabash-Android causes error on OS X Mavericks

半城伤御伤魂 提交于 2019-12-01 03:38:04
问题 Hi guys/rubyists out there, I need some help with trying to install Calabash-Android. After installing rvm, home-brew, when I install Calabash i get a strange error: sudo gem install calabash-android Building native extensions. This could take a while... ERROR: Error installing calabash-android: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb checking for main() in -lc... yes creating Makefile make "DESTDIR="

My applescript doesn't work any more when I upgrade my OS X to 10.9

前提是你 提交于 2019-12-01 03:30:11
问题 The following code is trying to open the proxies settings dialog, NSAppleScript *a = [[NSAppleScript alloc] initWithSource:@"tell application \"System Preferences\"\nset current pane to pane \"com.apple.preference.network\"\nactivate\nend tell\ntell application \"System Events\" to tell process \"System Preferences\" to tell window 1\n click button -3\nclick radio button -2 of tab group 1 of sheet 1\nend tell"]; [a executeAndReturnError:nil]; it has been working well until I upgrade my Mac OS

Rails 4 server fails, Ruby 2.0 segmentation fault, Abort trap 6

拟墨画扇 提交于 2019-12-01 02:12:42
问题 I just started going through railstutorial.org and getting my development environment setup. When I got to the section 1.2.5 to run rails server for the fist_app, I type the command and the following printed out: $ rails server /Users/aaronpflower/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/sqlite3- < 1.3.8/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-darwin13.2.0] Then followed by 500 lines of text 0 enumerator.so 1

Error when installing libv8 3.11.8.3

♀尐吖头ヾ 提交于 2019-12-01 01:11:24
问题 I'm running fresh install of OSX 10.9 Mavericks and XCode 5.0.1. When i'm trying to run bundle install in my project it fails on installing libv8 gem. Here's the output: ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/user1/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb creating Makefile Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Unable to find a compiler officially supported by v8.

RMagick error after installing OS X Mavericks

♀尐吖头ヾ 提交于 2019-11-30 23:52:14
I had RMagick installed and working perfectly in OS X Mountain Lion. I just installed OS X Mavericks and when I try to run rails s , I get this error: /.rvm/gems/ruby-2.0.0-p0@myapp/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require': dlopen(/.rvm/gems/ruby-2.0.0-p0@myapp/gems/rmagick-2.13.2/lib/RMagick2.bundle, 9): Library not loaded: /usr/lib/libltdl.7.dylib (LoadError) Referenced from: /.rvm/gems/ruby-2.0.0-p0@myapp/gems/rmagick-2.13.2/lib/RMagick2.bundle Reason: image not found - /.rvm/gems/ruby-2.0.0-p0@myapp/gems/rmagick-2.13.2/lib/RMagick2.bundle from /.rvm

MapKit Entitlements Oddity

怎甘沉沦 提交于 2019-11-30 22:52:37
I have a simple Mac app, not intended for distribution of any kind; simply personal use. The app is an NSWindow which contains an MKMapView . As I don't have a Mac dev account, and don't want one (see "personal use only"), I'm not doing any form of code signing or provisioning. However, on launch, I get a blank map and this error: Your Application has attempted to access the Map Kit API. You cannot access this API without an entitlement. You may receive an entitlement from the Mac Developer Program for use by you only with your Mac App Store Apps. For more information about Apple's Mac