List Info

Thread: Re: Expected Asset.rb to define Asset and SystemExit errors




Re: Expected Asset.rb to define Asset and SystemExit errors
user name
2007-12-17 09:44:44
Yup that was it. I overlooked the error in the mongrel log.
For future
people here's the simple solution I dug up.
http://bea
st.caboo.se/forums/2/topics/1064

1. Find a spot for ruby_inline to store its stuff. I used
RAILS_ROOT/
tmp...
mkdir tmp/.ruby_inline; chown nobody:nobody
tmp/.ruby_inline; chmod
755 tmp/

2. Tell ruby_inline what you did - something like this in
config/
environment.rb:
ENV['INLINEDIR'] =
File.join(File.dirname(FILE),"../tmp")

3. Restart server.


On Dec 14, 5:49 pm, "Rick Olson"
<technowee...gmail.com> wrote:
> On 12/14/07, paul.ma...gmail.com
<paul.ma...gmail.com> wrote:
>
>
>
>
>
> > This seems to have happened in the past but no
resolution seemed to
> > come about.
>
> > Getting this error using :
> > edge Mephisto
> > Rails 2.0.1
> > ImageScience 1.1.3 with FreeImage 3.10 installed
> > RubyInline 3.6.5
>
> > Setting ASSET_IMAGE_PROCESSOR = :none and
everything works just fine.
>
> > Haven't tried rmagick but I'd rather avoid that.
>
> > Any ideas or suggestions? I know we're not at
stable so it's not a big
> > deal but I'd like to try and fix it.
>
> I'd say it's an issue with your installation of
ImageScience.  Maybe
> it needs a good HOME env variable set for ruby inline? 
I'm not sure.
> Go into script/console and type 'Asset' and see what
errors you get.
> The "Expected Asset.rb to define Asset..."
errors are basically saying
> "yea.. I had an error with asset.rb awhile
back", but they're not very
> descriptive.
>
> --
> Rick Olsonhttp://lighthouseapp.comhttp://web
log.techno-weenie.nethttp://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---


Re: Expected Asset.rb to define Asset and SystemExit errors
user name
2007-12-17 11:06:58
On Dec 17, 2007 7:44 AM, paul.marshgmail.com
<paul.marshgmail.com> wrote:
>
> Yup that was it. I overlooked the error in the mongrel
log. For future
> people here's the simple solution I dug up.
> http://bea
st.caboo.se/forums/2/topics/1064
>
> 1. Find a spot for ruby_inline to store its stuff. I
used RAILS_ROOT/
> tmp...
> mkdir tmp/.ruby_inline; chown nobody:nobody
tmp/.ruby_inline; chmod
> 755 tmp/
>
> 2. Tell ruby_inline what you did - something like this
in config/
> environment.rb:
> ENV['INLINEDIR'] =
File.join(File.dirname(FILE),"../tmp")
>
> 3. Restart server.

Actually, using rails_root/tmp would be a good default for
everyone.
Though I'm not sure how know what user to chown it to, since
systems
will be different.  If it could be worked into the bootstrap
process
that would be pretty cool I think.


-- 
Rick Olson
http://lighthouseapp.com

http://weblog.techno-
weenie.net
http://mephistoblog.com

--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )