Skip to content

WAR files give error "Could not find http-parser-1.2.1 in any of the sources" #482

@sandbergja

Description

@sandbergja

Warbler appears to not be playing nicely with the http-parser gem. I followed the following steps on jruby 9.2.11.1 to create a WAR file of a basic rails app with http-parser in the Gemfile:

rails new problem
cd problem
echo "gem 'warbler', github: 'jruby/warbler'" >> Gemfile
echo "gem 'http-parser'" >> Gemfile
bundle update
warble

I also tried warble compiled war. Both times, when I put the WAR file into tomcat, I got the following error in my browser:

Could not find http-parser-1.2.1 in any of the sources

I can run rails s no problem, and get no problems when I use http-parser in my app locally. It's only when I try to run the WAR file that I get problems.

I am using bundler 2.1.4. I tried this on both Windows and Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions