Google Groups Home
Help | Sign in
Installation issues on OS X Leopard 10.5.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Cam  
View profile
 More options Feb 25, 7:28 pm
From: Cam <camerony...@gmail.com>
Date: Mon, 25 Feb 2008 16:28:57 -0800 (PST)
Local: Mon, Feb 25 2008 7:28 pm
Subject: Installation issues on OS X Leopard 10.5.2
Installation experience on Leopard 10.5.2, Ruby 1.8.6, Rubygems 1.0.1
- few issues cropped up.

Installing the sprout gem goes okay;

cameron$ sudo gem install sprout --source http://gems.projectsprouts.org
Successfully installed sprout-0.7.167
1 gem installed

Run into the first error trying to generate my first Sprout;

cameron$ sprout -n as3 SomeProject

>> Creating new project 'SomeProject' with as3
>> Loading gem [sprout-as3-bundle] from http://gems.rubyforge.org with it's dependencies

Successfully installed sprout-flashplayer-bundle-9.115.12
Successfully installed sprout-as3-bundle-0.1.39
2 gems installed
Installing ri documentation for sprout-as3-bundle-0.1.39...
Installing RDoc documentation for sprout-as3-bundle-0.1.39...
>> Loading gem [sprout-flashplayer-tool] from http://gems.rubyforge.org with it's dependencies

Successfully installed sprout-flashplayer-tool-9.115.6
1 gem installed
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- sprout/tasks/
flashplayer_task (MissingSourceFile)
        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:342:in `new_constants_in'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
        from /opt/local/lib/ruby/gems/1.8/gems/sprout-as3-bundle-0.1.39/lib/
sprout/as3_tasks.rb:2
        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'
        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
        from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
         ... 9 levels...
        from /opt/local/lib/ruby/gems/1.8/gems/sprout-0.7.167/lib/sprout.rb:
465:in `sprout'
        from /opt/local/lib/ruby/gems/1.8/gems/sprout-0.7.167/bin/sprout:123
        from /opt/local/bin/sprout:19:in `load'
        from /opt/local/bin/sprout:19

Running the same command again is successful for some reason;

>> Creating new project 'SomeProject' with as3

      create  SomeProject
      create  SomeProject/assets/skins/SomeProject
      create  SomeProject/bin
      create  SomeProject/lib
      create  SomeProject/script
      create  SomeProject/src
      create  SomeProject/test
      create  SomeProject/assets/skins/SomeProject/ProjectSprouts.png
      create  SomeProject/rakefile.rb
      create  SomeProject/README.txt
      create  SomeProject/script/generate
      create  SomeProject/assets/skins/SomeProjectSkin.as
      create  SomeProject/src/SomeProject.as
      create  SomeProject/src/SomeProjectRunner.as

Running 'rake' on my new Sprout raises a missing dependency for
'open4' gem;

cameron$ rake
(in /Users/cameron/projects/flash/SomeProject)

>> Loading gem [sprout-asunit3-library] from http://gems.rubyforge.org with it's dependencies

Successfully installed sprout-asunit3-library-3.2.5
1 gem installed
>> Loading gem [sprout-corelib-library] from http://gems.rubyforge.org with it's dependencies

Successfully installed sprout-corelib-library-0.9.7
1 gem installed
>> Loading gem [sprout-flex2sdk-tool] from http://gems.rubyforge.org with it's dependencies

Successfully installed sprout-flex2sdk-tool-2.1.2
1 gem installed
>> Execute: mxmlc -default-background-color=#FFFFFF -default-frame-rate=24 -default-size 600 400 -library-path+=lib/corelib.swc -output=bin/SomeProject.swf -source-path+=assets -source-path+=src -warnings=true src/SomeProject.as

rake aborted!
no such file to load -- open4

Install the open4 gem;

cameron$ sudo gem install open4
Successfully installed open4-0.9.6
1 gem installed

Try rake again;

cameron$ rake
(in /Users/cameron/projects/flash/SomeProject)

>> Execute: mxmlc -default-background-color=#FFFFFF -default-frame-rate=24 -default-size 600 400 -library-path+=lib/corelib.swc -output=bin/SomeProject.swf -source-path+=assets -source-path+=src -warnings=true src/SomeProject.as

Loading configuration file /Users/cameron/Library/Sprouts/cache/0.7/
sprout-flex2sdk-tool-2.1.2/archive/frameworks/flex-config.xml
bin/SomeProject.swf (12073 bytes)

Correctly configured mm.cfg file not found at: /Users/cameron/mm.cfg

This file is required in order to capture trace output.

Would you like this file created automatically? [Yn]

Y

>> Created file: /Users/cameron/mm.cfg

[WARNING] FlashPlayer encountered an error working with the mm.cfg log
and/or editing the Trust file
[WARNING] Cannot focus Flash Player without rb-appscript gem

This successfully displays the Sprouts logo in the SWF player.

If you need me to try anything out don't hesitate to ask - is the
least I can do to help out with the project. :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke Bayes  
View profile
 More options Feb 25, 7:33 pm
From: "Luke Bayes" <lba...@patternpark.com>
Date: Mon, 25 Feb 2008 16:33:44 -0800
Local: Mon, Feb 25 2008 7:33 pm
Subject: Re: [sprouts-users] Installation issues on OS X Leopard 10.5.2
Hey Cam,

Thanks for the post!

I'll be sure to work through these this week.

Luke Bayes


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cam  
View profile
 More options Mar 5, 9:15 am
From: Cam <camerony...@gmail.com>
Date: Wed, 5 Mar 2008 06:15:04 -0800 (PST)
Local: Wed, Mar 5 2008 9:15 am
Subject: Re: Installation issues on OS X Leopard 10.5.2

Just to follow up on an off-post email from Luke the following now
works without errors;

sudo gem install sprout --source http://gems.projectsprouts.org
sudo gem install open4
sudo gem install rb-appscript
sprout -n as3 MyProject
cd MyProject
rake

On Feb 26, 12:33 am, "Luke Bayes" <lba...@patternpark.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke Bayes  
View profile
 More options Mar 5, 1:16 pm
From: "Luke Bayes" <lba...@patternpark.com>
Date: Wed, 5 Mar 2008 10:16:33 -0800
Local: Wed, Mar 5 2008 1:16 pm
Subject: Re: [sprouts-users] Re: Installation issues on OS X Leopard 10.5.2

>  Just to follow up on an off-post email from Luke the following now
>  works without errors;

>  sudo gem install sprout --source http://gems.projectsprouts.org

> sudo gem install open4
>  sudo gem install rb-appscript

> sprout -n as3 MyProject
>  cd MyProject
>  rake

Thanks so much for the follow up Cam!

Luke


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google