1

每当我运行 heroku run rake db:migrate 3 时,我都会得到

耙中止!无法加载 WDM!

WDM is not supported on your system. For a cross-platform alternative,
we recommend using Listen: http://github.com/guard/listen

请任何人帮助我

4

2 回答 2

5

@user2240307 将您的 windows gems 放入 gemfile 的平台组中。

#WINDOWS Gems That don't play well with nix
platforms :mswin do 
  gem "wdm", :group => [:development, :test]
end
于 2013-04-06T16:42:31.797 回答
0
heroku restart

如果不改变你的应用程序环境,让它再次正常工作,在LINUX操作系统上开发它。

使用 RVM 设置 Ruby、Rails,然后设置数据库配置。肯定会跑

于 2013-04-03T13:06:24.923 回答