I've followed the installation instruction to the letter. I've installed the latest JDK ADK ApacheAnt and Ruby installations. I've setup the JAVA_HOME, ANDROID_HOME, ANT_HOME paths, and added JAVA_HOME\bin; ANDROID_HOME\tools; ANT_HOME\bin; phonegap\bin to the path. However, when i try to run:
C:\phonegap\bin>ruby ./droidgap c:\android-sdk-windows test com.my.test c:\www c
:\temp\test3
I get:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load --
C:/phonegap/bin/lib/generate.rb (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from ./droidgap:4:in `<main>'
So ruby is looking for the lib dir in /bin? Something is wrong here. So if i copy the lib dir in /bin and run the same command again, i get nothing. No output, and the destination dir does not exist.
Why is this happening?