I am trying to get build a Pindah app, however, I'm having a hard time
getting rake to work. I had an earlier issue w/r to obsolete
build.xml, which I found the answer to install the Pindah gem
directly. Now that I've done that, I get a 'taskdef class
org.mirah.ant.Compile cannot be found' error. My gems are:
*** LOCAL GEMS ***
bitescript (0.1.0)
bouncy-castle-java (1.5.0146.1)
bundler (1.2.1 ruby)
jruby-launcher (1.0.15 java)
jruby-openssl (0.7.7)
mirah (0.1.0.pre java)
pindah (
0.1.3.dev)
rake (0.9.2.2, 0.8.7)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
sources (0.0.1)
And when I try to execute rake, here is what I get:
$> rake -T
rake aborted!
org.apache.tools.ant.BuildException: taskdef class
org.mirah.ant.Compile cannot be found
using the classloader AntClassLoader[]
Running w/--trace clearly shows that Ant can't find a corresponding
class containing the Compile task. I was using bundler and thought
maybe that was causing classpath issues, but w/o bundler I have the
same issue. Thoughts?
Here is my JRuby info too:
$>jruby -v
jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_37) [darwin-x86_64-java]
Thanks!
-Andy