setup.rb copies .bat files to linux system

Discussion in 'Ruby' started by Trans, Sep 24, 2006.

  1. Trans

    Trans Guest

    I created .bat files for windows, and I assume they should be in the
    conventional bin/ directory. But setup.rb copies .bat files to my linux
    system. Should setup.rb be made to aviod this, or is there already an
    appropriate way to do this?

    Thanks,
    T.
     
    Trans, Sep 24, 2006
    #1
    1. Advertisements

  2. Trans wrote:
    > I created .bat files for windows, and I assume they should be in the
    > conventional bin/ directory. But setup.rb copies .bat files to my linux
    > system. Should setup.rb be made to aviod this, or is there already an
    > appropriate way to do this?
    >
    > Thanks,
    > T


    I don't think there's any O/S-dependent code in setup.rb, and even if
    there were I'm not sure it would be a good idea to have setup.rb use
    file extensions to make installation decisions. You could add a
    post-install hook to handle O/S-dependent aspects of your installation.
     
    Timothy Hunter, Sep 24, 2006
    #2
    1. Advertisements

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. =?Utf-8?B?ZGFubEBkcmF3bmV0X25vX3NwYW0uY29t?=

    .bat from asp.net w/System.Diagnostics.Process?

    =?Utf-8?B?ZGFubEBkcmF3bmV0X25vX3NwYW0uY29t?=, Apr 10, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    3,932
    Alvin Bruney [MVP]
    Apr 12, 2004
  2. Replies:
    0
    Views:
    628
  3. markus
    Replies:
    22
    Views:
    902
    Dances With Crows
    Sep 22, 2004
  4. Chris Shenton
    Replies:
    1
    Views:
    1,712
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Aug 24, 2007
  5. Replies:
    3
    Views:
    1,871
    Rolf Magnus
    Jan 18, 2009
  6. Intransition

    [ANN] Ruby Setup 5 (setup.rb)

    Intransition, Jan 13, 2010, in forum: Ruby
    Replies:
    0
    Views:
    562
    Intransition
    Jan 13, 2010
  7. Ted
    Replies:
    0
    Views:
    173
  8. Replies:
    1
    Views:
    211
    Nicholas Fitzkee
    May 31, 2012
Loading...