Rails 6 Alpha:Sprockets :: FileNotFound

时间:2019-01-02 08:41:38

标签: ruby-on-rails sprockets ruby-on-rails-6

Rails Alpha 6在检测样式表时遇到问题。为此,我提供了以下复制步骤。

复制步骤

import sympy

n = sympy.var("n", integer = True)
a = sympy.var("a")
b = sympy.var("b")
f = 2**n*(2-a) - b + 1

solutions = sympy.solve(f, [a,b], dict = True)
# this will return: "[{a: 2**(-n)*(2**(n + 1) - b + 1)}]". 
# A single solution where b and n are free variables.
# However this means I have to choose an n I don't want
# to that I want it to hold for any n.

       

           

    

           

           登入     

  

1) Create Rails 6 app

2) yarn add onsenui
Add below lines to "app/assets/stylesheets/application.css"

 *= require onsenui/css/onsenui
 *= require onsenui/css/onsen-css-components

3) Create a sample view as below

预期行为

页面应该呈现没有错误。 实际行为

4) Access that page

0 个答案:

没有答案