Coder Social home page Coder Social logo

jinhucheung / intro Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 440 KB

Intro brings your rails application to new feature introduction and step-by-step users guide.

Home Page: https://github.com/jinhucheung/intro

License: MIT License

Ruby 61.87% JavaScript 7.90% CSS 0.49% HTML 20.04% SCSS 9.70%
intro tour shepherd rails-engine rails user-guide

intro's Introduction

Hi there

jinhucheung's most used languages jinhucheung's github stats

intro's People

Contributors

dependabot[bot] avatar jinhucheung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

intro's Issues

升级 shepherd

问题描述

升级 shepherd v6.0.0 以上, 注意 shepherd 4.6.0 以后的破坏性变更

使用rails6,ruby版本是2.7.1,出现错误

按照说明添加 intro_tags 在共用的views/layouts/application.html.erb 中, 在 body 标签关闭之前:

<%= intro_tags %>
</body>
</html>

打开http://localhost:3000/出现错误,说明上没有看到相关的问题解决方法。

ActionView::Template::Error (intro/application.js):
    21: </div>
    22: 
    23: <%= render "layouts/footer" %>
    24: <%= intro_tags %>
    25: </body>
    26: </html>

app/views/layouts/application.html.erb:24

在进入http://localhost:3000/intro/admin后,跳转到http://localhost:3000/intro/admin/sessions/new

Sprockets::Rails::Helper::AssetNotPrecompiled in Intro::Admin::Sessions#new
Showing /Users/mac/.rvm/gems/ruby-2.7.1/gems/intro-0.3.0/app/views/layouts/intro/admin/application.html.erb where line #6 raised:

intro/admin/application.css

          def raise_unless_precompiled_asset(path)
            raise Helper::AssetNotPrecompiled.new(path) if @check_precompiled_asset && !precompiled?(path)
          end
      end
    end

是我哪里还没有做好吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.