netbeans/rails/malline question

0 views
Skip to first unread message

FredO

unread,
Jun 18, 2008, 1:59:34 AM6/18/08
to pdxruby
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

Bryan

unread,
Jun 18, 2008, 2:12:23 AM6/18/08
to pdx...@googlegroups.com
Not sure what's wrong, but maybe try installing it as a plugin in vendor/plugins:
http://dev.malline.org/wiki/Installation
That would be the more typical approach.  Or installed as a gem.
Reply all
Reply to author
Forward
0 new messages