没有这样的文件或目录-getcwd

没有这样的文件或目录-getcwd

问题描述:

我将Sinatra应用程序上传到了Beanstalk.当我转到我的网站时,我的日志将返回

I uploaded my Sinatra app to Beanstalk. When I go to my site my logs are returned

No such file or directory - getcwd

该应用以前可以运行.我认为问题与我在应用程序中添加了SASS的事实有关,但我对此并不乐观.在我的config.ru中,我有以下代码处理SASS ...

The app was working before. I believe the issue has to do with the fact that I added SASS to my app, but I'm not positive. In my config.ru, I have the following code dealing with SASS...

# use scss for stylesheets
Sass::Plugin.options[:style] = :compressed
use Sass::Plugin::Rack

如果可能是另一个问题,请告诉我,我可以提供更多信息.谢谢.

If it could be another issue, let me know and I can provide more information. Thanks.

发现捆绑器中安装了pg而不是mysql2.

Found out pg was installed instead of mysql2 in bundler.