'exec': Operation not supported

Discussion in 'Ruby' started by Joe Ruby MUDCRAP-CE, Nov 8, 2006.

  1. 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/.
    Joe Ruby MUDCRAP-CE, Nov 8, 2006
    #1
    1. Advertising

  2. 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
    Justin Collins, Nov 8, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hal Vaughan
    Replies:
    11
    Views:
    1,104
    Gordon Beaton
    May 22, 2006
  2. David Konerding

    win32 socket, "Operation not supported"

    David Konerding, Dec 12, 2003, in forum: Python
    Replies:
    2
    Views:
    517
    Thomas Heller
    Dec 12, 2003
  3. tedsuzman
    Replies:
    2
    Views:
    7,074
    Michel Claveau, résurectionné d'outre-bombe inform
    Jul 21, 2004
  4. kujotx

    WSE2169: Read operation is not supported

    kujotx, Nov 26, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    518
    kujotx
    Nov 26, 2007
  5. Alhambra Eidos Development

    this Operation is not supported in WCF Test Client

    Alhambra Eidos Development, Feb 22, 2010, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    1,619
    Mr. Arnold
    Feb 23, 2010
Loading...

Share This Page