Ruby on rails Rails预编译资产失败,返回函数外部
有人知道这个错误吗?我没有看到这个错误,但我的大部分Ruby on rails Rails预编译资产失败,返回函数外部,ruby-on-rails,deployment,asset-pipeline,Ruby On Rails,Deployment,Asset Pipeline,有人知道这个错误吗?我没有看到这个错误,但我的大部分资产:预编译错误最终都是特定资产中的问题 当我有一个无法解释的错误时,我开始一次尝试一件事。如果您使用的是源代码管理,您可以回滚到以前的有效更改吗?如果尚未签入,请使用Git stash、Perforce shelf或类似工具 有人在CoffeeScript文件中出现了类似的编译错误: 希望对您有所帮助。您具体运行什么命令? [176.71.146.44] executing command ** [out :: 176.71.146
资产:预编译错误最终都是特定资产中的问题
当我有一个无法解释的错误时,我开始一次尝试一件事。如果您使用的是源代码管理,您可以回滚到以前的有效更改吗?如果尚未签入,请使用Git stash、Perforce shelf或类似工具
有人在CoffeeScript文件中出现了类似的编译错误:
希望对您有所帮助。您具体运行什么命令?
[176.71.146.44] executing command
** [out :: 176.71.146.44] ** Invoke assets:precompile (first_time)
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Execute assets:precompile
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Invoke assets:precompile:all (first_time)
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Execute assets:precompile:all
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Invoke assets:precompile:primary (first_time)
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Invoke assets:environment (first_time)
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Execute assets:environment
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Invoke environment (first_time)
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Execute environment
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Invoke tmp:cache:clear (first_time)
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Execute tmp:cache:clear
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] ** Execute assets:precompile:primary
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] rake aborted!
** [out :: 176.71.146.44]
** [out :: 176.71.146.44] 'return' outside of function (line: 29773, col: 8, pos: 908864)