warbler icon indicating copy to clipboard operation
warbler copied to clipboard

Can't build gem on Windows

Open undees opened this issue 15 years ago • 4 comments

The following error happens when I try to build and install the Warbler gem from source on Windows:

>gem build warbler.gemspec
  Successfully built RubyGem
  Name: warbler
  Version: 1.3.0.beta1
  File: warbler-1.3.0.beta1.gem

>gem install warbler-1.3.0.beta1.gem
ERROR:  While executing gem ... (ArgumentError)
    syntax error in "<reader>", line 1, column 5:
    --- %YAML 1.1
        ^

If I build the gem on a nearby Ubuntu box, then Windows is able to install it.

undees avatar Feb 16 '11 20:02 undees

This still happening with last version?

What version of JRuby and RubyGems are you using?

guilleiguaran avatar Sep 09 '11 02:09 guilleiguaran

I just built warbler 1.3.3 on windows 7 64bit running jruby 1.6.4 so you probably should just update warbler or jruby @undees.

 >gem build warbler.gemspec
  Successfully built RubyGem
  Name: warbler
  Version: 1.3.3
  File: warbler-1.3.3.gem

atambo avatar Sep 09 '11 02:09 atambo

I will close this for now.

@undees Let me know if this still happening to you and the details of your system

guilleiguaran avatar Sep 09 '11 03:09 guilleiguaran

It seems like the root cause of this behavior was an issue in JRuby itself, which has sense been fixed:

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

I think closing the ticket is the right call here.

undees avatar Sep 09 '11 04:09 undees