brianleroux / phonegap-dev

command line utilities for the phonegap project
Other
13 stars 5 forks source link

uninitialized constant PhoneGap::FileUtils #1

Closed maccman closed 12 years ago

maccman commented 12 years ago

Getting this error on generate:

mac2:phonegap-dev Alex$ phonegap -g ./test

    /Users/Alex/.rvm/gems/ruby-1.9.2-p180/gems/phonegap-0.2.2/lib/phonegap.rb:31:in `generate': uninitialized constant PhoneGap::FileUtils (NameError)
        from /Users/Alex/.rvm/gems/ruby-1.9.2-p180/gems/phonegap-0.2.2/bin/phonegap:21:in `block (2 levels) in parse'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1308:in `call'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1308:in `block in parse_in_order'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1264:in `catch'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1264:in `parse_in_order'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1258:in `order!'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1349:in `permute!'
        from /Users/Alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/optparse.rb:1370:in `parse!'
        from /Users/Alex/.rvm/gems/ruby-1.9.2-p180/gems/phonegap-0.2.2/bin/phonegap:45:in `parse'
        from /Users/Alex/.rvm/gems/ruby-1.9.2-p180/gems/phonegap-0.2.2/bin/phonegap:49:in `<top (required)>'
        from /Users/Alex/.rvm/gems/ruby-1.9.2-p180/bin/phonegap:19:in `load'
        from /Users/Alex/.rvm/gems/ruby-1.9.2-p180/bin/phonegap:19:in `<main>'
brianleroux commented 12 years ago

Oh god this project is totally unmaintained and looooong gone. Cordova is my latest exploration here.

maccman commented 12 years ago

Ah my bad. Btw, I took a stap at reinventing the wheel here: http://github.com/maccman/phonegap