Ruby-processing: Require loaderror
in
Processing with Other Languages
•
2 years ago
- #nof.rb
- require 'ruby-processing'
- require 'rubygems'
- Gem.clear_paths
- ENV['GEM_HOME'] = '/usr/local/jruby-1.5.1/lib/ruby/gems/1.8'
- ENV['GEM_PATH'] = '/usr/local/jruby-1.5.1/lib/ruby/gems/1.8'
- require 'xxx'
- class Sketch < Processing::App
- load_libraries :opengl, :boids
- # We need the OpenGL classes to be included here.
- include_package "processing.opengl"
- # Code goes here . . .
- end
Running:
- rp5 run nof.rb
- file:/Library/Ruby/Gems/1.8/gems/ruby-processing-1.0.9/lib/core/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require': no such file to load -- xxx (LoadError)
System: Mac OSX , Snow leopard
Handles: xxx = name of the module, nof = name of file
Read:
Any help would be muchly appreciated.
[Moderator's note: why everybody posts to Processing Implementations (about regular Processing)... except those that should post there? Moved.]
1