Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
netbeans/rails/malline question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
FredO  
View profile  
 More options Jun 18 2008, 1:59 am
From: FredO <sino...@gmail.com>
Date: Tue, 17 Jun 2008 22:59:34 -0700 (PDT)
Local: Wed, Jun 18 2008 1:59 am
Subject: netbeans/rails/malline question
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan  
View profile  
 More options Jun 18 2008, 2:12 am
From: Bryan <bdo...@gmail.com>
Date: Tue, 17 Jun 2008 23:12:23 -0700
Local: Wed, Jun 18 2008 2:12 am
Subject: Re: [pdxruby] netbeans/rails/malline question

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 to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google