Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > 'exec': Operation not supported

Reply
Thread Tools

'exec': Operation not supported

 
 
Joe Ruby MUDCRAP-CE
Guest
Posts: n/a
 
      11-08-2006
I'm on Mac OS X / Powerbook and I'm trying to figure out why Mongrel
doesn't restart on it. When I do 'mongrel_rails restart' (which
reportedly works fine on other platforms, except Windows), I get this
error in my log:

** Restarting with arguments: /opt/local/bin/ruby
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails
start -d -p 3001
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:144:in
`exec': Operation not supported - /opt/local/bin/ruby
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0
3.13.4/bin/mongrel_rails start -d -p 3001 (Errno::EOPNOTSUPP)
from
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:144:in
`run'
from
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/command.rb:203:in
`run'
from
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:234

The restart code from Mongrel is:

cmd = "ruby #{__FILE__} start #{original_args.join(' ')}"
config.log "Restarting with arguments: #{cmd}"
exec cmd

If I copy it into a new Ruby script (and changing cmd appropriately), it
runs fine. Also, if I change "exec" to "system", it works.

Anybody know what the problem might be?

Thanks,
Joe

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Justin Collins
Guest
Posts: n/a
 
      11-08-2006
Joe Ruby MUDCRAP-CE wrote:
> I'm on Mac OS X / Powerbook and I'm trying to figure out why Mongrel
> doesn't restart on it. When I do 'mongrel_rails restart' (which
>
>

<snip>
> Anybody know what the problem might be?
>
> Thanks,
> Joe
>
>


No, I don't, but it might be a good idea to also ask on the Mongrel
forums and/or mailing list (if you haven't already).

-Justin

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this Operation is not supported in WCF Test Client Alhambra Eidos Development ASP .Net Web Services 1 02-23-2010 12:51 AM
WSE2169: Read operation is not supported kujotx ASP .Net Web Services 0 11-26-2007 07:34 PM
I/O operation, file operation behaviou raan C++ 2 08-16-2007 07:13 PM
Does bit operation always work more efficiently than math operation? david ullua C Programming 13 03-01-2006 11:02 PM
win32 socket, "Operation not supported" David Konerding Python 2 12-12-2003 06:14 PM



Advertisments