Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我如何执行;“捆绑安装”;在nodejs heroku buildpack上?_Heroku - Fatal编程技术网

我如何执行;“捆绑安装”;在nodejs heroku buildpack上?

我如何执行;“捆绑安装”;在nodejs heroku buildpack上?,heroku,Heroku,package.json: "scripts": { "preinstall": "bundle install", "install": "cake build", "start": "coffee server/app.coffee" } 我的构建步骤(cake build)调用sass,这是一个gem可执行文件。我的档案有sass。当我推到heroku时,我得到错误sh:bundle:notfound“。如何使sass命令在构建步骤中及时可用?为了运行多个

package.json:

  "scripts": {
    "preinstall": "bundle install",
    "install": "cake build",
    "start": "coffee server/app.coffee"
  }

我的构建步骤(
cake build
)调用sass,这是一个gem可执行文件。我的档案有sass。当我推到heroku时,我得到错误
sh:bundle:notfound“
。如何使
sass
命令在构建步骤中及时可用?

为了运行多个进程,每个进程都基于不同的语言,您可以使用heroku buildpack multi,甚至只编写自己的自定义buildpack!前一种方法简单得多,但可能并不适用于所有情况