ä»ãããªããã CGIã®ç¥è©±ã¨ç¾å®ã¨ããã¨ã³ããªããã ãå 容ã¨ã¯ã¾ã£ããé¢ä¿ãªããã¹ã¯ãªããè¨èªã® shebang è¡ï¼#!ï¼ã§ã¹ã¯ãªããã¤ã³ã¿ã¼ããªã¿ãç´æ¥æ¸ããã« /usr/bin/env ã§ã©ããããã¨ããæªç¿ã¯ãã£ãã誰ãåºãããã ããããruby ãªäººã«å¤ãããã«æããããã ããããªããã hoge ã¨ããã¤ã³ã¿ã¼ããªã¿ã使ãã¹ã¯ãªããã®1è¡ç®ããã¨ãã° #!/usr/bin/env hoge ã¨ãã¦ããã¨ãhoge ã®å®è¡ãã¤ããªã /usr/bin/hoge ã§ã /usr/local/bin/hoge ã§ã $HOME/bin/hoge ã§ãã©ãã«ãã£ã¦ããã¹ãéã£ã¦ããããã°èµ·åã§ãããããã¯ã¡ãªãããªãã ããããããã«ã¯ããããã¡ãªããã«ããæããªãã /usr/bin/env ã使ãã¨ããã®ã¯ãPATH ã®å¤ã«ãããã£ã¦ã¤ã³ã¿ããªã¿ã®å ´æãæ¢ãã¨ããæå³ã§ãããã¤ã¾ã
{{#tags}}- {{label}}
{{/tags}}