Hey Luke,
Can you please confirm what the current status of this is? Do we
still have to stick with 0.8.7 or is 0.9.2 compatibility sorted? If I
just run with the latest gem install of the flashsdk, create a new
project, install the dependencies I note I get version 0.9.2 of rake
and on running rake I get this output:
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method FlashSDK::MXMLC#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:421:in `create_outer_task'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Sprout::Executable::FileParam#file called at /
Users/newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/
sprout/executable/file_param.rb:45:in `prepare_prerequisites'
WARNING: DSL method FlashSDK::MXMLC#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:294:in `to_rake'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Sprout::Library#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
library.rb:215:in `define_file_task'
WARNING: DSL method Sprout::Library#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
library.rb:218:in `define_file_task'
WARNING: DSL method Sprout::Library#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
library.rb:149:in `create_outer_task'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method FlashSDK::MXMLC#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:421:in `create_outer_task'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Sprout::Executable::FileParam#file called at /
Users/newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/
sprout/executable/file_param.rb:45:in `prepare_prerequisites'
WARNING: DSL method FlashSDK::MXMLC#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:294:in `to_rake'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method FlashSDK::COMPC#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:421:in `create_outer_task'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Sprout::Executable::Paths#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/paths.rb:18:in `block (2 levels) in prepare_prerequisites'
WARNING: DSL method Sprout::Executable::Paths#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/paths.rb:18:in `block (2 levels) in prepare_prerequisites'
WARNING: DSL method FlashSDK::COMPC#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:294:in `to_rake'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method FlashSDK::AsDoc#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/flashsdk-1.0.27.pre/lib/
flashsdk/asdoc.rb:134:in `create_outer_task'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Sprout::Executable::Files#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/files.rb:23:in `block in prepare_prerequisites'
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Sprout::Executable::Files#file called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/files.rb:23:in `block in prepare_prerequisites'
WARNING: DSL method FlashSDK::AsDoc#task called at /Users/
newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.11.pre/lib/sprout/
executable/base.rb:294:in `to_rake'
>> Copied file from: (/Users/newtriks/.rvm/gems/ruby-1.9.2-p136/gems/asunit4-4.2.3.pre/sprout/lib/../../bin/AsUnit-4.2.3.pre.swc) to: (lib/asunit4/AsUnit-4.2.3.pre.swc)
/Users/newtriks/Library/Sprouts/1.1/cache/flex4/4.1.0.16076/bin/mxmlc -
debug -output=bin/SomeProject-debug.swf -static-link-runtime-shared-
libraries src/SomeProject.as
Loading configuration file /Users/newtriks/Library/Sprouts/1.1/cache/
flex4/4.1.0.16076/frameworks/flex-config.xml
/Users/newtriks/Development/dev/playground/SomeProject/bin/SomeProject-
debug.swf (796 bytes)
[MXMLC] Compilation complete in 2.2375502586364746 seconds.
>> Tailing '/Users/newtriks/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt', press CTRL+C to quit
[trace] Warning: 'flash' has no property 'prototype'
[trace] >> SomeProject Instantiated!
[trace] Warning: 'flash' has no property 'prototype'
On May 31, 7:21 pm, Luke Bayes <
lba...@google.com> wrote:
> Hey Camille,
>
> The 0.9.0 install clobbered your 0.8.7 executable, and uninstall left it in
> place b/c there was still another Rake gem there.
>
> To fix, uninstall all versions of Rake, then install 0.8.7 again.
>
> gem install rake -v 0.8.7
>
> Thanks,
>
> Luke
>