Skip to content

Instantly share code, notes, and snippets.

@astjohn
Created March 15, 2012 15:59
Show Gist options
  • Select an option

  • Save astjohn/2044944 to your computer and use it in GitHub Desktop.

Select an option

Save astjohn/2044944 to your computer and use it in GitHub Desktop.
Lion, Bundler 1.1.1, RVM, JRuby-1.6.7
Updating https://github.com/astjohn/subexec.git
Updating https://github.com/elevation/event_calendar.git
Updating https://github.com/zenapsis/backbone-rails.git
Updating https://github.com/parallel588/mustache_rails3.git
Updating https://github.com/bemurphy/minitest-mongoid.git
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Using rake (0.9.2.2)
Using multi_json (1.1.0)
Using activesupport (3.1.4)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.4)
Using erubis (2.7.0)
Using rack (1.3.6)
Using rack-cache (1.2)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.4)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.3.3)
Using actionmailer (3.1.4)
Using arel (2.2.3)
Using tzinfo (0.3.32)
Using activerecord (3.1.4)
Using activerecord-jdbc-adapter (1.2.2)
Using jdbc-sqlite3 (3.7.2)
Using activerecord-jdbcsqlite3-adapter (1.2.2)
Using activeresource (3.1.4)
Using ansi (1.4.2)
Using bcrypt-ruby (3.0.1)
Using bouncy-castle-java (1.5.0146.1)
Using bson (1.6.1)
Using bundler (1.1.1)
Using nokogiri (1.5.2)
Using ffi (1.0.11)
Using childprocess (0.3.1)
Using rubyzip (0.9.6.1)
Using selenium-webdriver (2.20.0)
Using xpath (0.1.4)
Using capybara (1.1.2)
Using minitest (2.11.3)
Using capybara_minitest_spec (0.2.1.1)
Using carrierwave (0.5.8)
Using mongo (1.6.1)
Using mongoid (2.4.6)
Using carrierwave-mongoid (0.1.3)
Using closure-compiler (1.1.6)
Using coderay (1.0.5)
Using coffee-script-source (1.2.0)
Using execjs (1.3.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.5)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.1.4)
Using coffee-rails (3.1.1)
Using daemons (1.1.8)
Using database_cleaner (0.7.1)
Using orm_adapter (0.0.6)
Using warden (1.1.1)
Using devise (2.0.4)
Using ejs (1.0.0)
Using event-calendar (2.3.3) from https://github.com/elevation/event_calendar.git (at master)
Using eventmachine (0.12.10)
Using factory_girl (2.6.3)
Using factory_girl_rails (1.7.0)
Installing thin (1.3.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/astjohn/.rvm/rubies/jruby-1.6.7/bin/jruby extconf.rb
WARNING: JRuby does not support native extensions or the `mkmf' library very well.
Check http://kenai.com/projects/jruby/pages/Home for alternatives.
checking for main() in -lc... no
creating Makefile
make
/usr/bin/gcc-4.2 -I. -I. -I/Users/astjohn/.rvm/rubies/jruby-1.6.7/lib/native/include/ruby -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fPIC -DTARGET_RT_MAC_CFM=0 -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -arch amd64 -c parser.c
gcc-4.2: Invalid arch name : amd64
make: *** [parser.o] Error 1
Gem files will remain installed in /Users/astjohn/.rvm/gems/jruby-1.6.7/gems/thin-1.3.1 for inspection.
Results logged to /Users/astjohn/.rvm/gems/jruby-1.6.7/gems/thin-1.3.1/ext/thin_parser/gem_make.out
An error occured while installing thin (1.3.1), and Bundler cannot continue.
Make sure that `gem install thin -v '1.3.1'` succeeds before bundling.
@astjohn
Copy link
Author

astjohn commented Mar 15, 2012

Moral of the story = JRuby C Extension support is still experimental. Avoid these gems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment