oh, whoops! It's actually
/usr/local/bin/ruby /home/james/public_html/tracks/script/runner -e
production 'MessageGateway.receive(STDIN.read)'
I changed it and said the wrong thing to the list.
On Oct 3, 2008, at 12:03 AM, James Carruth wrote:
Here is the error I get (too bad I do not know more about what this
means):
fatal: Not a git repository
/home/james/public_html/tracks/vendor/rails/railties/lib/commands/
runner.rb:47: /home/james/public_html/tracks/vendor/rails/
activerecord/lib/../../activesupport/lib/active_support/
dependencies.rb:278:in `load_missing_constant': uninitialized
constant SMSGateway (NameError)
from /home/james/public_html/tracks/vendor/rails/
activerecord/lib/../../activesupport/lib/active_support/
dependencies.rb:467:in `const_missing'
from /home/james/public_html/tracks/vendor/rails/
activerecord/lib/../../activesupport/lib/active_support/
dependencies.rb:479:in `const_missing'
from (eval):1
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
27:in `eval'
from /home/james/public_html/tracks/vendor/rails/railties/
lib/commands/runner.rb:47
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
from /home/james/public_html/tracks/script/runner:3
James Carruth
http://www.thecarruths.org
http://www.edehaiti.org
On Thu, Oct 2, 2008 at 10:34 PM, Eric Allen <[EMAIL PROTECTED]>
wrote:
Interesting. What happens if you just run
/usr/local/bin/ruby /home/james/public_html/tracks/script/runner -e
production 'SMSGateway.receive(STDIN.read)'
from the terminal?
On Oct 1, 2008, at 2:26 PM, James Carruth wrote:
Yes, they are run by the same user (well, I am actually using
postfix). Here is the error message I get:
This is the mail system at host example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[EMAIL PROTECTED]>: Command died with status 1: "/usr/local/bin/ruby
/home/james/public_html/
tracks/script/runner -e production
'SMSGateway.receive(STDIN.read)'". Command output: /usr/local/
bin/ruby:
Permission denied -- /home/james/public_html/tracks/script/runner
(LoadError)
Final-Recipient: rfc822; [EMAIL PROTECTED]
Original-Recipient: rfc822;[EMAIL PROTECTED]
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; /usr/local/bin/ruby: Permission denied --
/home/james/public_html/tracks/script/runner (LoadError)
James Carruth
http://www.thecarruths.org
http://www.edehaiti.org
On Wed, Oct 1, 2008 at 1:11 PM, Eric Allen <[EMAIL PROTECTED]>
wrote:
Is the user that runs sendmail the same user that is hosting your
app? Can you forward me the error message?
On Oct 1, 2008, at 2:09 PM, James Carruth wrote:
I get a permission denied error in an email that comes back to
me. Any idea what I am doing wrong? Thanks
James Carruth
http://www.thecarruths.org
http://www.edehaiti.org
On Sun, Sep 21, 2008 at 12:05 PM, Eric Allen
<[EMAIL PROTECTED]> wrote:
I've finally gotten around to cleaning up my integrated email
receiver and merging it to trunk! See commit
3a21739be9790f85c9793222999f3c6b54167711. It could still use more
features, like better support for HTML and multipart messages, but
the basic functionality is there. I've been using this in my own
Tracks deployment for a couple of months now.
One thing I'm puzzled by is which documentation file I should
update to explain how to set this up. The process is really simple:
-Go to preferences inside Tracks and set up the email address and
default context for todos sent in via email (which could come from
an SMS message)
-In sendmail/qmail/postfix/whatever, set up an email address alias
to pipe messages to
/PATH/TO/RUBY/ruby /PATH/TO/TRACKS/script/runner -e production
'SMSGateway.receive(STDIN.read)'
That's all! Note: This only works if your mail agent resides on
the same server as your Tracks installation, so it won't work for
everybody.
Which documentation file do I edit, and how do I regenerate the
rest of them?
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss