将“gem coffee-script-source”从1.9.1降级到1.8.0 [英] downgrading the gem coffee-script-source' from 1.9.1 to 1.8.0

查看:177
本文介绍了将“gem coffee-script-source”从1.9.1降级到1.8.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到这个错误:Welcome#中的ExecJS :: ProgramError#indexExecJS :: ProgramError中的Welcome#索引。



根据其他人的帖子发生,因为有一个在windows上运行的coffee-script-source 1.9.0 / 1出现问题,因此我必须使用命令行降级gem:gem'coffee-script-source','1.8.0'。当我尝试做到这一点时,我得到这个错误:

错误:执行gem时(Gem :: CommandLineError)未知命令coffee-script-source, p>

我做错了什么?

解决方案

将这行放入您的gemfile :

  gem'coffee-script-source','1.8.0'

然后运行捆绑安装


I am getting this error: ExecJS::ProgramError in Welcome#indexExecJS::ProgramError in Welcome#index.

According to others posts that happend because there is a problem with coffee-script-source 1.9.0/1 running on windows so I have to downgrade the gem with the command line: gem 'coffee-script-source', '1.8.0'. when I try to do this i get this error:

ERROR: While executing gem ... (Gem::CommandLineError) Unknown command coffee-script-source,

What I am doing wrong?

解决方案

Put this line in your gemfile:

gem 'coffee-script-source', '1.8.0'

And then run bundle install.

这篇关于将“gem coffee-script-source”从1.9.1降级到1.8.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆