Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Get minicron running on jruby #77

Closed
jamesrwhite opened this issue Apr 20, 2014 · 3 comments
Closed

Get minicron running on jruby #77

jamesrwhite opened this issue Apr 20, 2014 · 3 comments
Milestone

Comments

@jamesrwhite
Copy link
Owner

Current status of me trying to install dependencies:

$ bundle
Fetching gem metadata from https://rubygems.org/.......
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies.......
Installing i18n 0.6.9
Installing rake 10.2.2
Installing json 1.8.1
Installing minitest 5.3.3
Installing builder 3.2.2
Installing thread_safe 0.3.3
Installing arel 5.0.1.20140414130214
Using bundler 1.6.2
Installing addressable 2.3.6
Installing citrus 3.0.1
Installing highline 1.6.21
Installing cookiejar 0.3.2
Installing multi_json 1.9.2
Installing mime-types 1.25.1
Installing docile 1.1.3
Installing simplecov-html 0.8.0
Installing tins 1.1.0
Installing thor 0.19.1
Installing daemons 1.1.9
Installing diff-lcs 1.2.5
Installing eventmachine 1.0.3
Installing http_parser.rb 0.6.0
Installing escape 0.0.4
Installing erubis 2.7.0
Installing websocket-driver 0.3.2
Installing insidious 0.3
Installing rack 1.5.2
Installing jsmin 1.0.1
Installing polyglot 0.3.4
Installing net-ssh 2.8.0

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/james/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.

   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:8
  require at org/jruby/RubyKernel.java:1085
   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
   (root) at extconf.rb:2

extconf failed, uncaught signal 1

Gem files will remain installed in /Users/james/.rvm/gems/jruby-1.7.11/gems/mysql2-0.3.15 for inspection.
Results logged to /Users/james/.rvm/gems/jruby-1.7.11/extensions/universal-java-1.7/1.9/mysql2-0.3.15/gem_make.out
Installing parse-cron 0.1.4
Installing rainbow 2.0.0

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/james/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.

   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:8
  require at org/jruby/RubyKernel.java:1085
   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
   (root) at extconf.rb:1

extconf failed, uncaught signal 1

Gem files will remain installed in /Users/james/.rvm/gems/jruby-1.7.11/gems/oj-2.7.3 for inspection.
Results logged to /Users/james/.rvm/gems/jruby-1.7.11/extensions/universal-java-1.7/1.9/oj-2.7.3/gem_make.out
Installing tilt 1.4.1
Installing sass 3.3.5
Installing sshkey 1.6.1

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/james/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.

   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:8
  require at org/jruby/RubyKernel.java:1085
   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
   (root) at extconf.rb:3

extconf failed, uncaught signal 1

Gem files will remain installed in /Users/james/.rvm/gems/jruby-1.7.11/gems/sqlite3-1.3.9 for inspection.
Results logged to /Users/james/.rvm/gems/jruby-1.7.11/extensions/universal-java-1.7/1.9/sqlite3-1.3.9/gem_make.out
Installing rspec-core 2.14.8
Installing pagerduty 1.4.0
Installing rspec-mocks 2.14.6
Installing toml-rb 0.1.6
Installing tzinfo 1.1.0
Installing jwt 0.1.11
Installing commander 4.1.6
Installing rest-client 1.6.7
Installing simplecov 0.8.2
Installing term-ansicolor 1.3.0
Installing rspec-expectations 2.14.5
Installing em-socksify 0.3.0
Installing faye-websocket 0.7.2
Installing rack-protection 1.5.3
Installing rack-test 0.6.2
Installing treetop 1.4.15

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/james/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.

   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:8
  require at org/jruby/RubyKernel.java:1085
   (root) at /Users/james/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
   (root) at extconf.rb:1

extconf failed, uncaught signal 1

Gem files will remain installed in /Users/james/.rvm/gems/jruby-1.7.11/gems/thin-1.6.2 for inspection.
Results logged to /Users/james/.rvm/gems/jruby-1.7.11/extensions/universal-java-1.7/1.9/thin-1.6.2/gem_make.out
An error occurred while installing mysql2 (0.3.15), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.15'` succeeds before bundling.

Some useful information: https://github.com/jruby/jruby/wiki/C-Extension-Alternatives

@jamesrwhite jamesrwhite added this to the future milestone Apr 20, 2014
@swistaczek
Copy link

+1

@jamesrwhite
Copy link
Owner Author

If you have some experience with JRuby I'd love some help with this as I haven't used it much before.

@jamesrwhite
Copy link
Owner Author

No longer valid due to "binary" releases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants