The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
image_science and deployment

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ryan Davis

Posts: 651
Nickname: zenspider
Registered: Oct, 2004

Ryan Davis is a ruby nerd.
image_science and deployment Posted: May 31, 2007 2:28 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Ryan Davis.
Original Post: image_science and deployment
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Ryan Davis
Latest Posts From Polishing Ruby

Advertisement

We just poked around to get IS deployed on an apache/fcgi setup. Two things go wrong in the usual configuration.

  1. apache is running the process but HOME wasn't set so we had to set INLINEDIR.
  2. INLINEDIR was initally set to /home/limespot but apache can't write to that dir.
  3. In order to fix that, we set INLINEDIR to /home/limespot/inline and made that dir owned by apache:apache.
  4. Oddly, we got another error after that, as ld wasn't found. I think the error message was wrong. cc shouldn't be runnable if ld isn't runnable. We fixed that by setting up a minimal PATH.

In all, here were our conf tweaks:

  DefaultInitEnv INLINEDIR /home/limespot/inline
  DefaultInitEnv PATH      /usr/local/bin:/usr/bin:/bin

and our shell tweaks:

  % rm -rf ~limespot/.ruby_inline
  % mkdir ~limespot/inline
  % chown apache:apache !$

Read: image_science and deployment

Topic: autotest/rspec/rubygems problems Previous Topic   Next Topic Topic: Problems with RJS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use