Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using rmagick for spriting with FireApp #41

Closed
ghost opened this issue Jul 19, 2012 · 1 comment
Closed

Using rmagick for spriting with FireApp #41

ghost opened this issue Jul 19, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 19, 2012

I am running FireApp on Windows 7 64-bit.

I am trying to use the rmagick compass extension (https://github.com/Compass/compass-rmagick-engine) instead of chunky_png to support gif files.

I downloaded the rmagick extension and placed it in C:\fire.app\lib\ruby\compass_extensions\compass-rmagick-engine-7f24c8d

I then added sprite_engine = :rmagick to the project's config.rb and restarted FireApp.

The problem is that when I watch my project, I get this error:

uninitialized constant Compass::SassExtensions::Sprites::RmagickEngine
org/jruby/RubyModule.java:2642:in `const_missing'
(eval):1:in `init_engine'
org/jruby/RubyKernel.java:1083:in `eval'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_methods.rb:21:in `init_engine'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_methods.rb:17:in `compute_image_metadata!'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_map.rb:48:in `initialize'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_map.rb:22:in `from_uri'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/functions/sprites.rb:48:in `sprite_map'
org/jruby/RubyKernel.java:2084:in `send'
src/compass_patch.rb:20:in `_perform'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/script/node.rb:40:in `perform'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:244:in `visit_variable'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyArray.java:2331:in `collect'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyArray.java:2331:in `collect'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children'
org/jruby/RubyArray.java:2331:in `collect'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:27:in `visit_children'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:39:in `with_environment'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:26:in `visit_children'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:47:in `visit_root'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:7:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/root_node.rb:20:in `render'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/engine.rb:300:in `_render'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/engine.rb:247:in `render'
src/compass_patch.rb:219:in `compile'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
src/compass_patch.rb:218:in `compile'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/logger.rb:45:in `red'
src/compass_patch.rb:217:in `compile'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:103:in `run'
org/jruby/RubyArray.java:1615:in `each'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:101:in `run'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
src/compass_patch.rb:139:in `perform'
src/ui/tray.rb:543:in `watch'
src/app.rb:204:in `try'
src/ui/tray.rb:534:in `watch'
src/ui/tray.rb:142:in `compass_switch_handler'
src/ui/tray.rb:70:in `run'
src/main.rb:57:in `(root)'
org/jruby/RubyKernel.java:1033:in `require'
<script>:1:in `(root)'

Is there anyway to get this extension to work with FireApp?

@hlb
Copy link
Contributor

hlb commented Jul 20, 2012

@abxccd rmagick requires ImageMagick, but Fire.app does not support it. (we are using Java to solve the cross-platform issue)

@hlb hlb closed this as completed Jul 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant