gem install doesn't create BAT files on Windows Server 2008 and 2003 using JRuby 1.5.5

Bulkan Evcimen's Avatar

Bulkan Evcimen

03 Dec, 2010 12:41 AM

Hello,

I've created an issue in github without realizing that there is this support forum.

I've been trying to install Gem Bundler and RSpec on Windows Server 2008, I get the following output

jgem install bundler JRuby limited openssl loaded. http://jruby.org/openssl gem install jruby-openssl for full support. Successfully installed bundler-1.0.7 1 gem installed Installing ri documentation for bundler-1.0.7... Installing RDoc documentation for bundler-1.0.7...

but when I try to run bundle install I get

'bundle' is not recognized as an internal or external command, operable program or batch file.

looking further I've worked out the BAT file bundle.bat is not created in c:/jruby-1.5.5/bin. Looking at the rubygems code I've found that the following happens on Windows Server 2008.

require "rubygems" Gem.win_platform? false

Where as the above returns true on Windows 7. The following is my gem env

`jgem env RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.8.7 (2010-11-10 patchlevel 249) [java] - INSTALLATION DIRECTORY: c:/jruby-1.5.5/lib/ruby/gems/1.8 - RUBY EXECUTABLE: c:/jruby-1.5.5/bin/jruby.exe - EXECUTABLE DIRECTORY: c:/jruby-1.5.5/bin - RUBYGEMS PLATFORMS:

- ruby
- universal-java-1.6
  • GEM PATHS:
    • c:/jruby-1.5.5/lib/ruby/gems/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
    • "install" => "--env-shebang"
    • "update" => "--env-shebang"
  • REMOTE SOURCES:

Cheers

  1. Support Staff 2 Posted by Luis Lavena on 11 Dec, 2010 03:05 PM

    Luis Lavena's Avatar

    Hello,

    The issue you're reporting is a JRuby problem with Windows 2008, which was fixed in 1.5.6

    The bug report:

    http://jira.codehaus.org/browse/JRUBY-4352

    Closing this out as is JRuby issue, not RubyGems.

    Thank you for your report.

  2. Luis Lavena closed this discussion on 11 Dec, 2010 03:05 PM.

  3. Bulkan Evcimen re-opened this discussion on 12 Dec, 2010 10:18 PM

  4. 3 Posted by Bulkan Evcimen on 12 Dec, 2010 10:18 PM

    Bulkan Evcimen's Avatar

    Hi,

    Thanks for the info. I had a quick look at JRuby's JIRA but didn't see anything before I posted here. The latest release then was 1.5.5.

    Thanks again for the reply.

  5. Nick Quaranto closed this discussion on 18 Dec, 2010 04:07 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM