I am trying to use 'malline' in the context of a rails application
developed in netbeans.
I added a directory 'extras/' under the root on the same level as
'config/'
and dropped in the directory, 'malline/', containing:
erb_out.rb
form_builder.rb
rails.rb
template.rb
view_proxy.rb
view_wrapper.rb
view_xhtml.rb
I added the following to 'config/environment.rb'
config.load_paths += %W( #{RAILS_ROOT}/extras )
require 'malline/rails'
Now this seems like it ought to work, but no!
When I start up webrick I get the following message:
/opt/java/languages/jruby-1.1.2/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require': no such file to load -- malline/
rails (MissingSourceFile)
from /opt/java/languages/jruby-1.1.2/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:27:in `require'
So, I tried hardcoding the path:
require '/full/path/to/malline/rails'
And I still get the same error message
Pray tell me the error of my ways.
FredO