-1

I have a problem with wmd-rails, when I'm trying rails server in production enviroment, It doesn't show images from wmd-rails gem, JS and css show properly everything, where can be a problem?

4

1 回答 1

0

It seems to be a problem with compiling your images, at least try to add in production.rb (general):

config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)

or specify path:

config.assets.precompile += %w(path/to/image.png)
于 2014-09-09T07:23:30.440 回答