mguymon / lock_jar

LockJar manages Java Jars for Ruby

Home Page:http://mguymon.github.io/lock_jar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NoMethodError : private method `to_notation' called for #<Naether::Notation:0x5972a2aa>

bigsur0 opened this issue · comments

I am getting the following error w/ lock_jar 0.12.3 and naether 0.14.1 on jruby-9000 pre2. Any ideas why?

NoMethodError : private method `to_notation' called for #<Naether::Notation:0x5972a2aa>
/Users/r6p/.rvm/gems/jruby-9.0.0.0.pre2/gems/lock_jar-0.12.3/lib/lock_jar/domain/artifact.rb:46:in `initialize'
/Users/r6p/.rvm/gems/jruby-9.0.0.0.pre2/gems/lock_jar-0.12.3/lib/lock_jar/domain/dsl.rb:85:in `jar'
/Users/r6p/Developer/myproj/Buildfile:25:in `block in (root)'
/Users/r6p/.rvm/gems/jruby-9.0.0.0.pre2/gems/lock_jar-0.12.3/lib/lock_jar/domain/dsl.rb:148:in `block in group'

cmd: gem list naether

*** LOCAL GEMS ***

naether (0.14.1 java)

I have not tested LockJar on JRuby 9k, I will give it a whirl.

Bug in Naether, method was being defined in the initializer. Easy enought to fix, mguymon/naether@3f21c36

I will push a new gem shortly.

released lock_jar 0.12.4