I've had exactly this problem too. Since the image_science gem is in
the list of available gems, I assume it's /supposed/ to work?

If not, is another image library, such as rmagick or mini_magick, more
"endorsed"?



On Mar 21, 11:15 pm, Wildtangent <[EMAIL PROTECTED]> wrote:
> ah never mind, seems I need to be able to install FreeImage on the
> servers, clearly I'm not going to be allowed to do that.
>
> Have set up my own EC2 server now. Heroku still rocks though!
>
> Joe
>
> On Mar 21, 2:53 pm, Wildtangent <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I'm trying to use attachment_fu withImageScienceplugin, and the
> > Kropper plugin for cropping the images. When saving the crop I get an
> > error.
>
> > Initially this was that there were no supported image processors (from
> > Kropper), so I installed theImageSciencegem via the Heroku gem
> > manager
>
> > After this I started getting an
>
> > "no such file to load -- inline"
> > ....
> > This error occurred while loading the following files:
> >    image_science
> >    inline
>
> > So I uploaded the RubyInline gem
>
> > Now I get Permission denied - /root/.ruby_inline
>
> > So I'm getting closer to getting it working. Please help! Thanks
>
> > Stack trace from last error:
> > vendor/gems/RubyInline/lib/inline.rb:748
> > vendor/gems/RubyInline/lib/inline.rb:748
> > vendor/gems/RubyInline/lib/inline.rb:91
> > vendor/gems/RubyInline/lib/inline.rb:257
> > vendor/gems/RubyInline/lib/inline.rb:297
> > vendor/gems/RubyInline/lib/inline.rb:708
> > vendor/gems/image_science/lib/image_science.rb:84
> > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> > `gem_original_require'
> > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> > `require'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:496:in `require'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:342:in `new_constants_in'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:496:in `require'
> > vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/
> > image_science_processor.rb:1
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:203:in `load_without_new_constant_marking'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:203:in `load_file'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:342:in `new_constants_in'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:202:in `load_file'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:94:in `require_or_load'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:248:in `load_missing_constant'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:453:in `const_missing'
> > vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:95
> > vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:95
> > app/models/photo.rb:18
> > app/controllers/application.rb:17
> > /home/userapps_plugins/request_timeout/lib/request_timeout.rb:7
> > /home/userapps_plugins/request_timeout/lib/request_timeout.rb:6
> > /usr/bin/mongrel_rails:19:in `load'
> > /usr/bin/mongrel_rails:19
>
> > vendor/gems/RubyInline/lib/inline.rb:748:in `stat'
> > vendor/gems/RubyInline/lib/inline.rb:748:in `assert_secure'
> > vendor/gems/RubyInline/lib/inline.rb:91:in `directory'
> > vendor/gems/RubyInline/lib/inline.rb:257:in `so_name'
> > vendor/gems/RubyInline/lib/inline.rb:297:in `load_cache'
> > vendor/gems/RubyInline/lib/inline.rb:708:in `inline'
> > vendor/gems/image_science/lib/image_science.rb:84
> > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> > `gem_original_require'
> > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> > `require'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:496:in `require'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:342:in `new_constants_in'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:496:in `require'
> > vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/
> > image_science_processor.rb:1
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:203:in `load_without_new_constant_marking'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:203:in `load_file'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:342:in `new_constants_in'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:202:in `load_file'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:94:in `require_or_load'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:248:in `load_missing_constant'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:453:in `const_missing'
> > vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:95:in
> > `const_get'
> > vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:95:in
> > `has_attachment'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:203:in `load_without_new_constant_marking'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:203:in `load_file'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:342:in `new_constants_in'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:202:in `load_file'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:94:in `require_or_load'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:248:in `load_missing_constant'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:453:in `const_missing'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:465:in `const_missing'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:260:in `load_missing_constant'
> > /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
> > dependencies.rb:469:in `const_missing'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:469:in `send!'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:469:in `call'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:441:in `run'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:716:in `run_before_filters'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:695:in `call_filters'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:689:in `perform_action_without_benchmark'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > benchmarking.rb:68:in `perform_action_without_rescue_without_timeout'
> > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > benchmarking.rb:68:in `perform_action_without_rescue_without_timeout'
> > /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > rescue.rb:199:in `perform_action_without_caching'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > caching.rb:678:in `perform_action'
> > /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
> > connection_adapters/abstract/query_cache.rb:33:in `cache'
> > /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
> > query_cache.rb:8:in `cache'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > caching.rb:677:in `perform_action'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > base.rb:524:in `send'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > base.rb:524:in `process_without_filters'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > filters.rb:685:in `process_without_session_management_support'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > session_management.rb:123:in `process'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > base.rb:388:in `process'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > dispatcher.rb:171:in `handle_request'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > dispatcher.rb:115:in `dispatch'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > dispatcher.rb:126:in `dispatch_cgi'
> > /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
> > dispatcher.rb:9:in `dispatch'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:76:in
> > `process'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in
> > `synchronize'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in
> > `process'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in
> > `process_client'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in
> > `process_client'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in
> > `initialize'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in
> > `initialize'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:
> > 282:in `run'
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to