Issue Type: Bug Bug
Affects Versions: JRuby 1.7.4
Assignee: Unassigned
Components: C Extensions, Ruby 1.9.3, Windows
Created: 08/Aug/13 9:20 AM
Description:

Steps to Reproduce

  1. Create Test Rails project.
  2. Add
    group :development do
      gem 'debugger'
    end

    to Gemfile.

  3. Try 'bundle install' for Rails app on windows machine.
  4. See the console response
    Installing debugger (1.5.0)
    Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
    .
    
            c:/jruby-1.7.4/bin/jruby.exe extconf.rb
    NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=tru
    e to JRuby or set JRUBY_OPTS or modify .jrubyrc to enable.
    
       (root) at c:/jruby-1.7.4/lib/ruby/shared/mkmf.rb:8
      require at org/jruby/RubyKernel.java:1054
       (root) at c:/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:1
       (root) at extconf.rb:15
    
    
    Gem files will remain installed in c:/jruby-1.7.4/lib/ruby/gems/shared/gems/debu
    gger-1.5.0 for inspection.
    Results logged to c:/jruby-1.7.4/lib/ruby/gems/shared/gems/debugger-1.5.0/ext/ru
    by_debug/gem_make.out
    An error occurred while installing debugger (1.5.0), and Bundler cannot
    continue.
    Make sure that `gem install debugger -v '1.5.0'` succeeds before bundling.
    

Expected Results

  1. gem debugger should be installed properly on windows machine having jRuby installed.

Actual Result

  1. gem debugger is not installed properly on windows machine having jRuby installed.
Environment: Win 7, 32 bit

RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.24
  - RUBY VERSION: 1.9.3 (2013-05-16 patchlevel 392) [java]
  - INSTALLATION DIRECTORY: c:/jruby-1.7.4/lib/ruby/gems/shared
  - RUBY EXECUTABLE: c:/jruby-1.7.4/bin/jruby.exe
  - EXECUTABLE DIRECTORY: c:/jruby-1.7.4/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-java-1.7
  - GEM PATHS:
     - c:/jruby-1.7.4/lib/ruby/gems/shared
     - C:/Users/swapnil/.gem/jruby/1.9
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "install" => "--no-rdoc --no-ri --env-shebang"
     - "update" => "--no-rdoc --no-ri --env-shebang"
  - REMOTE SOURCES:
     - http://rubygems.org/
Fix Versions: JRuby 1.7.4
Project: JRuby
Labels: jruby
Priority: Major Major
Reporter: swap kotwal
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to