我在上学习Ruby on Rails教程,一切都很顺利,直到我尝试让我的应用程序在Heroku上运行。我安装了heroku,它工作得很好,但现在当我运行heroku keys:add或任何其他heroku命令时,我得到以下错误:
/home/sirswap/.rvm/gems/ruby-1.9.2-p0-1.9.2-p0@rails3tutorial
我的rails api应用程序在本地运行良好,但是当部署到heroku时,应用程序会崩溃。该应用程序成功地推入heroku,但警告“检测rails配置失败”,并通过运行"heroku run rails控制台“启动heroku控制台,显示以下错误:
10: from /app/vendor/bundle/ruby/2.6.0
当尝试通过Heroku "git push heroku master“在我的Ubuntu 16.04机器上部署我的Rails应用程序时,我收到以下错误:remote: error @rails/webpacker@4.2.2: The engine "node" is incompatible with this modulePush rejected, failed to com