Message from discussion
netbeans/rails/malline question
Received: by 10.90.33.5 with SMTP id g5mr223238agg.10.1213769546435;
Tue, 17 Jun 2008 23:12:26 -0700 (PDT)
Return-Path: <brdono...@gmail.com>
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189])
by mx.google.com with ESMTP id 7si10438003yxg.1.2008.06.17.23.12.25;
Tue, 17 Jun 2008 23:12:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of brdono...@gmail.com designates 209.85.128.189 as permitted sender) client-ip=209.85.128.189;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of brdono...@gmail.com designates 209.85.128.189 as permitted sender) smtp.mail=brdono...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by fk-out-0910.google.com with SMTP id 26so124684fkx.13
for <pdxruby@googlegroups.com>; Tue, 17 Jun 2008 23:12:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:reply-to
:sender:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth;
bh=5tktu1pVqNWa6F8A5xgyJdXRAadK/48MO5NCU9i1UBo=;
b=rxWUzhfGF7r8mUXrsFIIVk/RTWYU4IfdleXuMh2ldTbjrwIBtwyDpK23ibtYnwjU1O
RKcNf3AknKG23KiZJlz29YFg7TAo6/BUW+d5gaO9uHK3Rg8H4/pLoIfNprfOTpa4PLza
ti3lTChJ9qEzTDdBsOxdYHz0jPAcWwJtl3j60=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:reply-to:sender:to:subject:in-reply-to
:mime-version:content-type:references:x-google-sender-auth;
b=pqmS/MxjepzADhGcObYR1DUwN8gDTmb+Zj+PFkkJ7Y4mVy8O1gQ36y0KZITo6yBoUa
+AbL8qjXvsPo0zjOuoH/pPjYp4mMDZqReN72HvCjjuraR9bjJziMYT25b3shH1vH1nGk
o241OnVBkX7nJjrIyWjeoZkUuOEQI8meWMN3I=
Received: by 10.78.199.8 with SMTP id w8mr72282huf.30.1213769543645;
Tue, 17 Jun 2008 23:12:23 -0700 (PDT)
Received: by 10.78.133.11 with HTTP; Tue, 17 Jun 2008 23:12:23 -0700 (PDT)
Message-ID: <ae6c42f80806172312o578546b5gcd41310b89a4aef7@mail.gmail.com>
Date: Tue, 17 Jun 2008 23:12:23 -0700
From: Bryan <bdo...@gmail.com>
Reply-To: bdo...@gmail.com
Sender: brdono...@gmail.com
To: pdxruby@googlegroups.com
Subject: Re: [pdxruby] netbeans/rails/malline question
In-Reply-To: <5752063e-1dfe-4214-a2e5-521884312...@w4g2000prd.googlegroups.com>
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_49579_32058283.1213769543645"
References: <5752063e-1dfe-4214-a2e5-521884312...@w4g2000prd.googlegroups.com>
------=_Part_49579_32058283.1213769543645
Content-Type: text/plain; charset=ISO-8859-1
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.
On Tue, Jun 17, 2008 at 10:59 PM, FredO <sino...@gmail.com> wrote:
>
> 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
>
> >
>
------=_Part_49579_32058283.1213769543645
Content-Type: text/html; charset=ISO-8859-1
Not sure what's wrong, but maybe try installing it as a plugin in vendor/plugins:<br><a href="http://dev.malline.org/wiki/Installation">http://dev.malline.org/wiki/Installation</a><br>That would be the more typical approach. Or installed as a gem.<br>
<br><br><div class="gmail_quote">On Tue, Jun 17, 2008 at 10:59 PM, FredO <<a href="mailto:sino...@gmail.com">sino...@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am trying to use 'malline' in the context of a rails application<br>
developed in netbeans.<br>
<br>
I added a directory 'extras/' under the root on the same level as<br>
'config/'<br>
and dropped in the directory, 'malline/', containing:<br>
<br>
erb_out.rb<br>
form_builder.rb<br>
rails.rb<br>
template.rb<br>
view_proxy.rb<br>
view_wrapper.rb<br>
view_xhtml.rb<br>
<br>
<br>
I added the following to 'config/environment.rb'<br>
<br>
config.load_paths += %W( #{RAILS_ROOT}/extras )<br>
require 'malline/rails'<br>
<br>
Now this seems like it ought to work, but no!<br>
<br>
When I start up webrick I get the following message:<br>
<br>
/opt/java/languages/jruby-1.1.2/lib/ruby/site_ruby/1.8/rubygems/<br>
custom_require.rb:27:in `require': no such file to load -- malline/<br>
rails (MissingSourceFile)<br>
from /opt/java/languages/jruby-1.1.2/lib/ruby/site_ruby/1.8/<br>
rubygems/custom_require.rb:27:in `require'<br>
<br>
So, I tried hardcoding the path:<br>
<br>
require '/full/path/to/malline/rails'<br>
<br>
And I still get the same error message<br>
<br>
Pray tell me the error of my ways.<br>
<br>
FredO<br>
<br>
<br>
</blockquote></div><br>
------=_Part_49579_32058283.1213769543645--