Blogelator gem无法正确安装/要导入的文件未找到

时间:2016-06-23 02:50:54

标签: ruby-on-rails ruby rubygems blog-engine

我正在尝试将Blogelator添加到我的RoR应用程序中,但它没有正确安装。每当我跑

rails g blogelator:install

它停留在blogelator:install:migrations

 identical  app/controllers/blogelator/posts_controller.rb
   identical  app/assets/javascripts/blog.js
       exist  app/assets/javascripts/blog
   identical  app/assets/javascripts/blog/components/.gitkeep
   identical  app/assets/javascripts/blog/components/link.js
   identical  app/assets/javascripts/blog/layout/.gitkeep
   identical  app/assets/javascripts/blog/layout/progress_bar.js
   identical  app/assets/javascripts/blog/views/.gitkeep
   identical  app/views/layouts/blog.html.erb
       exist  app/views/layouts/blog
   identical  app/views/layouts/blog/_footer.html.erb
   identical  app/views/layouts/blog/_header.html.erb
   identical  app/assets/stylesheets/blog.scss
       exist  app/assets/stylesheets/blog
   identical  app/assets/stylesheets/blog/.gitkeep
   identical  app/assets/stylesheets/blog/components/.gitkeep
   identical  app/assets/stylesheets/blog/components/button.scss
   identical  app/assets/stylesheets/blog/components/headings.scss
   identical  app/assets/stylesheets/blog/components/link.scss
   identical  app/assets/stylesheets/blog/components/lists.scss
   identical  app/assets/stylesheets/blog/components/table.scss
   identical  app/assets/stylesheets/blog/layout/body.scss
   identical  app/assets/stylesheets/blog/layout/flash_messages.scss
   identical  app/assets/stylesheets/blog/layout/footer.scss
   identical  app/assets/stylesheets/blog/layout/header.scss
   identical  app/assets/stylesheets/blog/layout/progress_bar.scss
   identical  app/assets/stylesheets/blog/variables.scss
   identical  app/assets/stylesheets/blog/views/blogelator/authors/_author.scss
   identical  app/assets/stylesheets/blog/views/blogelator/posts/_post.scss
   identical  app/assets/stylesheets/blog/views/blogelator/posts/index.scss
   identical  app/assets/stylesheets/blog/views/blogelator/posts/show.scss
       exist  app/views/blogelator
   identical  app/views/blogelator/authors/_author.html.erb
   identical  app/views/blogelator/kaminari/_paginator.html.erb
   identical  app/views/blogelator/posts/_meta.html.erb
   identical  app/views/blogelator/posts/_post.html.erb
   identical  app/views/blogelator/posts/index.html.erb
   identical  app/views/blogelator/posts/show.html.erb
   identical  app/views/blogelator/tags/_tag.html.erb
        rake  blogelator:install:migrations
rake aborted!
Don't know how to build task 'blogelator:install:migrations' (see --tasks)

我能够从挖掘中找出错误来自blogelator现在需要在最后一个rake中写为blogelator_engine。我可以跑

rake blogelator_engine:install:migrations

并且它工作正常,但我不知道在失败的rake之后还没有丢失的是什么。

我试图找出一种在安装过程中跳过one命令的方法,但是没有。我在localhost:3000上运行应用程序时遇到的错误是

  

要导入的文件未找到或不可读:代码化。   加载路径:    /用户/阿德里安/桌面/ iotiportal / iotiportal /应用/资产/图片    /用户/阿德里安/桌面/ iotiportal / iotiportal /应用/资产/ JavaScript的    /用户/阿德里安/桌面/ iotiportal / iotiportal /应用/资产/样式表    /用户/阿德里安/桌面/ iotiportal / iotiportal /供应商/资产/ JavaScript的    /用户/阿德里安/桌面/ iotiportal / iotiportal /供应商/资产/样式表    /Users/adrian/.bundler/ruby/2.0.0/activeadmin->0ac35b7ff052/app/assets/images    /Users/adrian/.bundler/ruby/2.0.0/activeadmin-??>0ac35b7ff052/app/assets/javascripts    /Users/adrian/.bundler/ruby/2.0.0/activeadmin->0ac35b7ff052/app/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/jquery-ui-rails-5.0.5/app/assets/images    /Library/Ruby/Gems/2.0.0/gems/jquery-ui-rails->5.0.5/app/assets/javascripts    /Library/Ruby/Gems/2.0.0/gems/jquery-ui-rails->5.0.5/app/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/formtastic-3.1.4/app/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/bourbon-4.2.7/app/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/devise-bootstrap-views->0.0.8/app/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/twitter-bootstrap-rails->3.2.2/app/assets/fonts    /Library/Ruby/Gems/2.0.0/gems/twitter-bootstrap-rails->3.2.2/app/assets/javascripts    /Library/Ruby/Gems/2.0.0/gems/twitter-bootstrap-rails->3.2.2/app/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/twitter-bootstrap-rails->3.2.2/vendor/assets/stylesheets    /Library/Ruby/Gems/2.0.0/gems/jquery-rails->4.1.1/vendor/assets/javascripts    /Library/Ruby/Gems/2.0.0/gems/coffee-rails-4.1.1/lib/assets/javascripts

     

提取的来源(第1行):

@import "codelation";
@import "blog/variables";
@import "blog/**/*";

我觉得这可能与Blogelator没有完全安装的事实有关,但如果这是一个单独的问题,我会很乐意尝试任何修复。我尝试查找它,但我发现的必须是特定于bootstrap。

但是,我主要是在寻找有关停止安装的rake命令时如何安装Blogelator的帮助。谢谢!

0 个答案:

没有答案