问题标签 [therubyracer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ruby - 安装 therubyracer-heroku 时出现问题
问题
我无法运行服务器,因为没有安装middleman
依赖项!therubyracer-heroku
我试过什么?
我尝试middleman
通过以下命令安装:
它成功了。当我使用默认配置启动中间人服务器时:
我得到了这些错误:
我尝试卸载libv8
并重新安装。没有工作。好的,我试过的是:
的输出gem install therubyracer-heroku -v '0.8.1.pre3'
Gemfile
内容供您参考!
那么,有什么想法可以解决这个问题吗?
ruby - 在 git bash 中安装 therubyracer
我已经在 git bash 中安装了这个包,它说我必须安装 therubyracer 0.11.4。我已经安装了很多次,但它不能在我的 windows 7 中运行。如何解决这个问题?
ruby - 无法安装 therubyracer arm chromebook
尝试安装 therubyracer gem 后出现以下错误。
不知道为什么当我已经下载了 gem 时它会抱怨 v8。
我最初在安装 libv8 时遇到了麻烦,但后来设法使用 --system-v8 标志进行安装,但现在它的 rubyracer 抱怨。
ruby - 如何使用 Ruby 2.0 在 Windows 上安装 libv8 gem?
我正在尝试让 Devise 工作,似乎它需要 therubyracer gem。这需要 libv8 gem。我收到一个错误,它找不到 python2,所以我安装了 python 2.7 并将 python.exe 复制到 python2.exe... 并将 C:\Python27 添加到我的路径中。然后它在抱怨:
ruby-on-rails-3 - therubyracer error on heroku as "Failed to install gems via Bundler."
When i push my app to heroku it gives me following error
I deleted my Gemlock file and again bundle install it but still gives me same error. I also tried bundle install --without development:test
for production it also gives me same error What can I do. Here is my Gemfile
ruby - 方法关闭似乎在 rubyracer 中不起作用
一旦我将一个方法存储在 V8::Context 中,该方法的所有后续实例都以任何名称存储在任何上下文中,其行为就像初始实例一样(即,就好像再次存储了原始实例一样)。
我试图通过以下方式隔离/证明问题:
产生以下输出:
ruby-on-rails - 在 Ruby 中安装 Less - Windows
我在 Windows 上,我正在尝试安装Flat UI Pro
需要的Twitter Bootstrap Rails 3.1
.
但是每当我尝试安装时The Less Stylesheets
,我都会收到很多关于therubyracer
gem 和V8
文件的奇怪错误。
我需要跑步
这给了我错误
服务器也没有启动
我的宝石档案
如果有人有经验或之前安装了Twitter Bootstrap for Rails 3.1 Asset Pipeline,请帮帮我:) 谢谢
ruby-on-rails - 如何在每个新的 Rails 应用程序中永久更改 Gemfile
创建新的 Rails 应用程序时,如何永久更改 Gemfile 中的内容。
我遇到的问题是,每次我创建一个新的 rails 应用程序execjs error
时,我都会在应用程序内部运行时得到一个'rails server'
。在 stackoverflow 上搜索了几个小时可能是什么问题后,我发现'therubyracer'
每次创建新的 rails 应用程序时,默认情况下 Gemfile 中的“#”都会注释掉。
如何永久更改 Gemfile 以便我可以摆脱'#'
前面的'gem therubyracer'
一次,这样我就不必每次创建新的 rails 应用程序时都打开 Gemfile 来摆脱'#'
.
ruby-on-rails - Rails 服务器端车把性能
我们在高流量环境中的主干单页应用程序 rails 项目中使用服务器端把手,我们发现我们的渲染速度提高了 100%。我们正在使用 sht_rails gem,它看起来编码良好,只是将模板的渲染交给 v8/execjs/rubyracer。上线后,我们的 GC 增加了一吨,我们尝试了各种缓存策略来缓解这个问题,但这对我们不起作用,我们将放弃共享把手模板的想法,尽管好处已经很大seo/共享代码的观点。
除了使用 ruby ee,我们还能做些什么来微调/加速这个过程?或者它只是将字符串传递给 javascript 序列化/反序列化等的野兽的本质。
根据我们的经验,这种服务器端渲染似乎还没有准备好用于生产渲染。有人有这方面的经验吗?
ruby - 在安装了 libv8 的 Windows 上安装 therubyracer --with-system-v8
我终于用 gem install libv8 -- --with-system-v8 在我的 Windows 上安装了 libv8
现在,当我尝试安装 therubyracer 时,我得到了
我想知道这个错误信息的真正含义是什么?我也查了这个https://github.com/cowboyd/libv8#bring-your-own-v8 如何为 v8 安装标头?