简体   繁体   English

Windows 7上的Twitter Bootstrap for Rails 4

[英]Twitter Bootstrap for Rails 4 on Windows 7

I'm not exactly a seasoned veteran of the Rails world, but from what I've seen, I would definitely like to use bootstrap on my Rails projects. 我并不是一位经验丰富的Rails经验丰富的老手,但是从我所看到的来看,我绝对想在我的Rails项目中使用引导程序。
i'm running windows 7 and I'm kind a married to it. 我正在运行Windows 7,我对此深感同情。 I have read everything I can find on this topic and is it just not possible to install bootstrap-rails on windows? 我已经阅读了有关该主题的所有内容,是否无法在Windows上安装bootstrap-rails?
Every time I try to install either therubyracer or libv8 I get fatal errors that I can't resolve. 每次尝试安装therubyracer或libv8时,都会收到致命错误,但无法解决。
It won't install twitter-bootstrap-rails because I don't have those other two. 它不会安装twitter-bootstrap-rails,因为我没有其他两个。

Can someone either tell me how to install bootstrap on my windows box or point me to the information? 有人可以告诉我如何在Windows盒子上安装bootstrap或将信息指向我吗?

I am so frustrated, i've been stuck with this for a few months now. 我很沮丧,我已经坚持了几个月。

Give bootstrap-sass a try. 试试bootstrap-sass This should get around the need to compile the style sheets into less, since they are ported to sass with this project. 这可以避免将样式表编译成更少的需求,因为样式表已被移植到此项目中。 See Section A for gems to include in your Gemfile. 有关包含在您的Gemfile中的宝石,请参见A节。

Try this: 尝试这个:

gem install libv8 -- --with-system-v8

Because libv8 is the interface for the V8 engine used by therubyracer, you may need to use libv8, even if you have V8 installed already. 因为libv8是therubyracer使用的V8引擎的接口,所以即使您已经安装了V8,也可能需要使用libv8。 If you wish to use your own V8 installation, rather than have it built for you, use the --with-system-v8 option. 如果您希望使用自己的V8安装,而不是为您自己构建,请使用--with-system-v8选项。 Source 资源

I'm would never suggest cheating on your operating system, I'm just saying you could dual-boot and she would never know . 我绝不建议您在操作系统上作弊,我只是说您可以双重引导,而她永远不会

Bootstrap-Sass works for me too. Bootstrap-Sass也为我工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM