Hi, I'm still having problems with the 'build install' step (is this the right place to post these kinds of problems? If not, please show me where).
BTW, I'm on a Mac with the lastest Mountain Lion.
[- chorus -] bundle install Fetching gem metadata from http://rubygems.org/....... Fetching gem metadata fromhttp://rubygems.org/..
Enter your password to install the bundled RubyGems to your system:
Using rake (10.0.0)
Using Platform (0.4.0)
Using open4 (1.3.0)
Using POpen4 (0.1.4)
Using i18n (0.6.1)
Using multi_json (1.3.7)
Using activesupport (3.2.9.rc2)
Using builder (3.0.4)
Using activemodel (3.2.9.rc2)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.1)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.8.1)
Using actionpack (3.2.9.rc2)
Using mime-types (1.19)Using polyglot (0.3.3)
Using treetop (1.4.12)
Using mail (2.4.4)
Using actionmailer (3.2.9.rc2)Using arel (3.0.2)
Using tzinfo (0.3.35)Using activerecord (3.2.9.rc2)
Using activerecord-jdbc-adapter (1.2.2.chorus) from git://github.com/GreenplumCh
orus/activerecord-jdbc-adapter.git (at dynamic-schema-search-path)
Using jdbc-postgres (9.0.801)Using activerecord-jdbcpostgresql-adapter (1.2.2.chorus) from git://github.com/G
reenplumChorus/activerecord-jdbc-adapter.git (at dynamic-schema-search-path)Using activeresource (3.2.9.rc2)
Using addressable (2.3.2)Using allowy (0.2.6)
Using encryptor (1.1.3)
Using attr_encrypted (1.2.1)
Using bouncy-castle-java (1.5.0146.1)
Using nokogiri (1.5.5)
Using ffi (1.1.5)
Using childprocess (0.3.6)
Using libwebsocket (0.1.5)
Using rubyzip (0.9.9)
Using selenium-webdriver (2.26.0)
Using xpath (0.1.4)
Using capybara (1.1.3)
Using capybara-screenshot (0.3)
Using choice (0.1.6)
Using chorusgnip (0.0.1) from git://github.com/GreenplumChorus/gnip.git (at master)
Using chunky_png (1.2.6)
Using ci_reporter (1.7.3) from git://github.com/pivotal-leopold/ci_reporter.git (at master)
ci_reporter at /Users/gnilrets/.bundler/jruby/1.9/ci_reporter-3ec35b81c0d3 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
[".gemtest"] are not files
Using clockwork (0.4.1)
Using cocaine (0.2.1)
Using columnize (0.3.6)
Using fssm (0.2.9)
Using sass (3.2.3)
Using compass (0.12.2)
Using compass-rails (1.0.3)
Using crack (0.3.1)
Using database_cleaner (0.9.1)
Using diff-lcs (1.1.3)
Using execjs (1.4.0)
Using factory_girl (4.1.0)
Using fakefs (0.4.0)
Using faker (1.1.2)
Using fakeweb (1.3.0)
Using fixture_builder (0.3.4)
Installing posix-spawn (0.3.6) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/local/share/java/jruby/bin/jruby extconf.rb
/opt/local/share/java/jruby/lib/ruby/shared/mkmf.rb:14: Use RbConfig instead of obsolete and deprecated Config.
mkmf.rb can't find header files for ruby at /opt/local/share/java/jruby/lib/native/include/ruby/ruby.h
Gem files will remain installed in /Users/gnilrets/.bundler/tmp/2669/gems/posix-spawn-0.3.6 for inspection.
Results logged to /Users/gnilrets/.bundler/tmp/2669/gems/posix-spawn-0.3.6/ext/gem_make.out
An error occurred while installing posix-spawn (0.3.6), and Bundler cannot continue.
Make sure that gem install posix-spawn -v '0.3.6' succeeds before bundling.
I then tried gem install posix-spawn, but got another error:
[- chorus -] sudo gem install posix-spawn -v '0.3.6'
Password:
Building native extensions. This could take a while...
ERROR: Error installing posix-spawn:
ERROR: Failed to build gem native extension.
/opt/local/share/java/jruby/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS or modify .jrubyrc to enable.
(root) at /opt/local/share/java/jruby/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1019
(root) at /opt/local/share/java/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
(root) at extconf.rb:1
Gem files will remain installed in /opt/local/share/java/jruby/lib/ruby/gems/shared/gems/posix-spawn-0.3.6 for inspection.
Results logged to /opt/local/share/java/jruby/lib/ruby/gems/shared/gems/posix-spawn-0.3.6/ext/gem_make.out
So it's complaining about not having the -Xcext.enabled=true set in JRUBY_OPTS, but it's definitely there:
[- chorus -] echo $JRUBY_OPTS
-X+O --client -Xcext.enabled=true -J-Xmx1024m -J-Xms512m -J-Xmn128m -J-XX:MaxPermSize=128m -J-Djava.library.path=./vendor/hadoop/lib/