Rails jquery-fileupload gem-找不到文件错误 [英] Rails jquery-fileupload gem - couldn't find file error

查看:73
本文介绍了Rails jquery-fileupload gem-找不到文件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试关注jQuery-FileUpload上的Railscasts集.我已添加

I'm trying to follow the Railscasts episode on jQuery-FileUpload. I've added

gem 'jquery-fileupload-rails' 

Gemfile的资产组,并添加

//= require jquery-fileupload/basic

在资产目录中文件的

行.但是,当我尝试打开该网站时,显示以下错误:

line to the application.js file in the asset directory. When I try to bring up the website, however, the following error is shown:

couldn't find file 'jquery-fileupload'
  (in root/app/assets/javascripts/application.js:15)

任何帮助将不胜感激.

推荐答案

我找到了一个解决方案"-重新启动Rails服务器可以解决问题.

I found a "solution" - restarting rails server did the trick.

这篇关于Rails jquery-fileupload gem-找不到文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆