Questions tagged «gem»

5
确定安装了哪个版本的gem?
是否可以通过CLI确定我的计算机上安装了gem的哪个版本号?类似于yolk -lpython吗? 我正在尝试查看是否具有最新版本的指南针/萨斯/ zurb基础。我有一个需要特定版本号的依赖项。所以我需要看看它是什么版本。
47 ruby  gem 

3
错误:尝试下载Rubocop时无法构建gem本机扩展
当我尝试“ sudo gem install rubocop”时,我得到... Building native extensions. This could take a while... ERROR: Error installing rubocop: ERROR: Failed to build gem native extension. current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.1/ext /usr/bin/ruby2.3 mkrf_conf.rb current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.1/ext /usr/bin/ruby2.3 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake RUBYARCHDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.1 RUBYLIBDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.1 /usr/bin/ruby2.3: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake (LoadError) rake failed, exit code …
13 downloads  gem 

3
如何更新到最新版本的SASS?
这真是愚蠢,但我已经谷歌搜索了一个小时,却找不到答案。 我在Ubuntu 10.10上,并且尝试更新到最新版本的SASS,以便可以在@import规则中使用@media规则。 如此处建议;https://github.com/nex3/sass/issues/64,我尝试过: $ sudo gem install sass --pre 那似乎很好用: Successfully installed sass-3.2.0.alpha.35 1 gem installed 但是,当我尝试时$ sass -v,会得到:Haml/Sass 3.0.9 (Classy Cassidy)这是更新之前的旧版本。 我究竟做错了什么? $ which gem /usr/bin/gem $ which sass /usr/bin/sass 尝试了答案: $ sass -v Haml/Sass 3.0.9 (Classy Cassidy) $ sudo gem uninstall -Iax sass Removing sass Removing sass-convert …
9 ruby  gem 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.