java-premailer-wrapper icon indicating copy to clipboard operation
java-premailer-wrapper copied to clipboard

(LoadError) no such file to load -- premailer

Open MotherCake opened this issue 5 years ago • 0 comments

Hi

After i update my jruby version i got the following error if i try to use the Premailer Caused by: org.jruby.exceptions.LoadError: (LoadError) no such file to load -- premailer at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:974) at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54) at RUBY.<main>(classpath:/premailer/premailer_contact.rb:2)

my pom have this entries:

    <repository>
        <id>rubygems-releases</id>
        <url>http://rubygems-proxy.torquebox.org/releases</url>
    </repository>
</repositories>

....

        <groupId>org.mdedetrich</groupId>
        <artifactId>java-premailer-wrapper</artifactId>
        <version>1.2_1.8.7</version>
        <exclusions>
            <exclusion>  <!-- declare the exclusion here -->
                <groupId>org.jruby</groupId>
                <artifactId>jruby</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.jruby</groupId>
        <artifactId>jruby</artifactId>
        <version>9.2.10.0</version>
    </dependency>
    <dependency>
        <groupId>rubygems</groupId>
        <artifactId>premailer</artifactId>
        <version>1.11.1</version>
        <type>gem</type>
    </dependency>

Do you have any idea why this happens? Is this a ruby problem? Thx in advance.

MotherCake avatar Apr 06 '20 09:04 MotherCake