-
-
Save ChasManRors/2242242 to your computer and use it in GitHub Desktop.
ruby-1.9.2-p290@refinery $ bundle install | |
Fetching gem metadata from https://rubygems.org/........ | |
Fetching gem metadata from https://rubygems.org/.. | |
Using rake (0.9.2.2) | |
Using i18n (0.6.0) | |
Using multi_json (1.2.0) | |
Using activesupport (3.2.2) | |
Using builder (3.0.0) | |
Using activemodel (3.2.2) | |
Using erubis (2.7.0) | |
Using journey (1.0.3) | |
Using rack (1.4.1) | |
Using rack-cache (1.2) | |
Using rack-test (0.6.1) | |
Using hike (1.2.1) | |
Using tilt (1.3.3) | |
Using sprockets (2.1.2) | |
Using actionpack (3.2.2) | |
Using mime-types (1.18) | |
Using polyglot (0.3.3) | |
Using treetop (1.4.10) | |
Using mail (2.4.4) | |
Using actionmailer (3.2.2) | |
Using arel (3.0.2) | |
Using tzinfo (0.3.32) | |
Using activerecord (3.2.2) | |
Using activeresource (3.2.2) | |
Using acts_as_indexed (0.7.8) | |
Using addressable (2.2.7) | |
Using awesome_nested_set (2.1.2) | |
Using babosa (0.3.7) | |
Using bcrypt-ruby (3.0.1) | |
Using bundler (1.1.0) | |
Using coffee-script-source (1.2.0) | |
Using execjs (1.3.0) | |
Using coffee-script (2.2.0) | |
Using rack-ssl (1.3.2) | |
Installing json (1.6.6) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks! | |
/Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) | |
/Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb | |
creating Makefile | |
make | |
/usr/bin/gcc-4.2 -I. -I/Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-darwin10.8.0 -I/Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -I/Users/cmmagid/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -O3 -Wall -O0 -ggdb -o generator.o -c generator.c | |
make: /usr/bin/gcc-4.2: No such file or directory | |
make: *** [generator.o] Error 1 | |
Gem files will remain installed in /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/json-1.6.6 for inspection. | |
Results logged to /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/json-1.6.6/ext/json/ext/generator/gem_make.out | |
from /Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions' | |
from /Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `each' | |
from /Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions' | |
from /Users/cmmagid/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/source.rb:90:in `block in install' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/rubygems_integration.rb:82:in `preserve_paths' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/source.rb:89:in `install' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/installer.rb:73:in `block in install_gem_from_spec' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/rubygems_integration.rb:97:in `with_build_args' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/installer.rb:72:in `install_gem_from_spec' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/installer.rb:56:in `block in run' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/installer.rb:55:in `run' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/installer.rb:12:in `install' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/cli.rb:220:in `install' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/vendor/thor/task.rb:22:in `run' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/vendor/thor.rb:263:in `dispatch' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/lib/bundler/vendor/thor/base.rb:386:in `start' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/gems/bundler-1.1.0/bin/bundle:13:in `<top (required)>' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/bin/bundle:19:in `load' | |
from /Users/cmmagid/.rvm/gems/ruby-1.9.2-p290@refinery/bin/bundle:19:in `<main>' |
I removed gnu osx compiler and reinstalled the newest version of Xcode with the latest version of command line tools and am using the following versions
New version of xcode, command line tools and rvm with the following versions got me through the native json and ruby debug issues.
/Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@refinery
ruby-1.9.3-p125@refinery $ ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
ruby-1.9.3-p125@refinery $ rails -v
Rails 3.2.2
ruby-1.9.3-p125@refinery $ rvm -v
rvm 1.11.3 () by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.beginrescueend.com/]
Good luck!
Opps, correction on ruby debug. Compiles but does not run.
/Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@refinery/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:1:in `require': dlopen(/Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@refinery/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)
Referenced from: /Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@refinery/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle
Expected in: flat namespace
in /Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@refinery/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /Users/cmmagid/.rvm/gems/ruby-1.9.3-p125@refinery/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle
Did you figure out why this was crashing? I'm getting the same issue.