任何人都知道为什么我在尝试启动和运行 Rails Shapado 平台时可能会收到以下错误?
$ rake bootstrap RAILS_ENV=development
rake aborted!
Could not open library 'libmagic.1.dylib': dlopen(libmagic.1.dylib, 5): image not found. Could not open library 'libmagic.so.1': dlopen(libmagic.so.1, 5): image not found. Could not open library 'libmagic.so.1.dylib': dlopen(libmagic.so.1.dylib, 5): image not found. Could not open library 'magic1.dll': dlopen(magic1.dll, 5): image not found. Could not open library 'libmagic1.dll.dylib': dlopen(libmagic1.dll.dylib, 5): image not found
我按照自述文件(https://github.com/ricodigo/shapado)到了 T,我也相信我在第二步中发现了一个错误:
它应该是config/shapado.yml.sample和config/mongoid.yml.sample而不是config/shapado.sample.yml和config/mongoid.sample.yml
有什么想法吗?