Spins :: FileNotFound in Pins #index
显示/Users/Paris/code/omrails/app/views/layouts/application.html.erb第6行:
找不到文件'jquery.masonry.pkgd.js' (在/Users/Paris/code/omrails/app/assets/javascripts/application.js:15)
提取的来源(第6行):
3: <head>
4: <title>One Month Rails</title>
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8: </head>
9: <body>
这是:
application.html.erb =&gt;
<!DOCTYPE html>
<html>
<head>
<title>One Month Rails</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render 'layouts/header'%>
<div class="container">
<% flash.each do |name, msg| %>
<%= content_tag(:div, msg, class: "alert alert-#{name}") %>
<% end %>
<%= yield %>
<%= render 'layouts/footer'%>
</div>
</body>
</html>
这是我的gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.12'
gem 'jquery-rails'
gem 'devise'
gem 'simple_form'
gem "paperclip", "~> 3.0"
group :production do
gem 'pg'
end
group :development, :test do
gem 'sqlite3'
end
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'bootstrap-sass', '~> 2.3.1.0'
end
GitHub的: https://github.com/parisliahyun/omrails.git
我一直坚持这个,当然我对Ruby很新。所有帮助赞赏!