ruby - (Another) error when installing Rails -
i trying install rails on new mac.
i have error when try install gem "atomic".
i tried every solutions found on net: installing xcode, trying changing versions of ruby, etc. never works.
my config: os x 10.9.2
xcode 5.1
ruby 2.0.0p247 gem 2.2.2
when enter "xcode-select -p", get: /applications/xcode.app/contents/developer
during atomic install, error following:
"error: error installing atomic: error: failed build gem native extension. /system/library/frameworks/ruby.framework/versions/2.0/usr/bin/ruby extconf.rb checking libkern/osatomic.h... yes creating makefile make "destdir=" clean make "destdir=" compiling atomic_reference.c atomic_reference.c:57:59: warning: incompatible pointer types passing 'void **' parameter of type 'volatile int64_t *' (aka 'volatile long long *') [-wincompatible-pointer-types] if (osatomiccompareandswap64(expect_value, new_value, &data_ptr(self))) { ^~~~~~~~~~~~~~~ /usr/include/libkern/osatomic.h:507:93: note: passing argument parameter '__thevalue' here bool osatomiccompareandswap64( int64_t __oldvalue, int64_t __newvalue, volatile int64_t *__thevalue ); ^ 1 warning generated. linking shared-object atomic_reference.bundle clang: error: unknown argument: '-multiply_definedsuppress' [-wunused-command-line-argument-hard-error-in-future] clang: note: hard error (cannot downgraded warning) in future make: *** [atomic_reference.bundle] error 1 make failed, exit code 2"
don't hesitate ask more infos, lot
i recommend following steps:
uninstall
atomic
gemgem uninstall atomic
re-install
atomic
gemgem install atomic
install
rails
gem install rails
Comments
Post a Comment