Rake failed to build SWF file with FlexSDK

56 views
Skip to first unread message

Sergey Senkov

unread,
Nov 14, 2012, 2:18:51 AM11/14/12
to project...@googlegroups.com
Hi,

I`ve installed ruby, ruby gems and:
# Install the ActionScript 3 / Flash Bundle:
gem install flashsdk --pre

# Generate a new ActionScript 3 project:
sprout-as3 SomeProject

# Move into the new project:
cd SomeProject

# Install dependencies:
bundle install

# Compile and run the main project:
rake

# Congratulations - you're up and running!


Rake have downloaded FlexSDK 4.6.0.23201 and drops an error:

C:\Projects\Farm\FarmProject>rake
F:/Program Files/Ruby193/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.4/lib/zip/zip.rb:2
:in `<top (required)>': iconv will be deprecated in the future, use String#encod
e instead.
F:/Documents and Settings/Admin/Local Settings/Application Data/Sprouts/1.1/cach
e/flex4/4.6.0.23201/bin/mxmlc -debug -output=bin\FarmProject-debug.swf -static-l
ink-runtime-shared-libraries=true src\FarmProject.as
rake aborted!
[ERROR] java.io.FileNotFoundException: F:\Documents and Settings\Admin\Local Set
tings\Application Data\Sprouts\1.1\cache\flex4\4.6.0.23201\bin\mxmlc.jar (═х єфр
хЄё  эрщЄш єърчрээ√щ Їрщы)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
Exception in thread "main"
Tasks: TOP => default => run => bin/FarmProject-debug.swf
(See full trace by running task with --trace)

C:\Projects\Farm\FarmProject>

Ed Jones

unread,
Nov 14, 2012, 3:29:36 PM11/14/12
to project...@googlegroups.com
Sergey, looks like you are running Windows. Do you have Ruby Devkit installed?
http://rubyinstaller.org/add-ons/devkit/


ed
Reply all
Reply to author
Forward
0 new messages