Google Groups Home
Help | Sign in
Help? > /usr/local/lib/site_ruby/1.8/r ubygems/custom_require.rb:27: command not found: cd /home/adam/public_html/iRPG.co m
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
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
Ogre  
View profile
 More options Apr 30, 4:20 pm
From: Ogre <adam.setz...@gmail.com>
Date: Wed, 30 Apr 2008 13:20:31 -0700 (PDT)
Local: Wed, Apr 30 2008 4:20 pm
Subject: Help? > /usr/local/lib/site_ruby/1.8/rubygems/cu stom_require.rb:27: command not found: cd /home/adam/public_html/iRPG.com
iRPG ~/public_html/iRPG.com: rake thin:cluster:stop

(in /home/adam/public_html/iRPG.com)
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27: command
not found: cd /home/adam/public_html/iRPG.com
Stopping server on port 3000...
Stopping server on port 3001...

What could be going on with the command not found error?  My app's
name is iRPG.com ... Could the ".com" be causing this error?


    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.
Ogre  
View profile
 More options Apr 30, 4:48 pm
From: Ogre <adam.setz...@gmail.com>
Date: Wed, 30 Apr 2008 13:48:33 -0700 (PDT)
Local: Wed, Apr 30 2008 4:48 pm
Subject: Re: Help? > /usr/local/lib/site_ruby/1.8/rubygems/cu stom_require.rb:27: command not found: cd /home/adam/public_html/iRPG.com
I figured it out.  Ruby hiccups when a dir path has a "." in it, and
in this case the rake file contained:

`cd #{RAILS_ROOT}`

...in two places.

Fix:

`cd "#{RAILS_ROOT}"`

This script for starting the thin cluster was found at:
http://groups.google.com/group/thin-ruby/msg/7775cc00e316b25a

On Apr 30, 3:20 pm, Ogre <adam.setz...@gmail.com> wrote:


    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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google