Questions tagged «rubygems»

RubyGems是Ruby编程语言的软件包管理工具。它允许用户下载和更新Ruby库,并提供自动依赖性解析。

11
为什么“指南针监视”说它无法加载sass / script / node(LoadError)?
我的指南针监视命令有问题-直到几天前它都可以正常工作。我没有对配置文件进行任何更改。 我重新安装了Compass,使用rvm更新了Ruby。我检查了custom_require.rb文件,但我真的不知道要查找什么。似乎正在尝试将文件“ sass / script / node”加载到某个地方,并从http://sass-lang.com/docs/yardoc/Sass/Script/Node.html我收集了文件路径-但那里什么也没有。 /Users/sampurcell/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require': cannot load such file -- sass/script/node (LoadError) from /Users/sampurcell/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require' from /Users/sampurcell/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require' from /Users/sampurcell/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches/browser_support.rb:1:in `<top (required)>' from /Users/sampurcell/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' from /Users/sampurcell/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' from /Users/sampurcell/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:2:in `block in <top (required)>' from /Users/sampurcell/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in `each' from /Users/sampurcell/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in `<top (required)>' from /Users/sampurcell/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' …

9
在Delayed_job中手动重试作业
Delayed :: Job的自动重试功能很棒,但是现在有一项我想手动重试的工作。有没有一种方法可以像我这样调用工作本身? Delayed::Job.all[0].perform 或跑步或其他。我尝试了一些事情,并整理了文档,但是不知道如何执行作业的手动重试。

5
无法要求openssl,安装OpenSSL和重建ruby(首选)或使用非HTTPS源
我正在尝试安装jekyll,但遇到错误。我正在运行Mac OS X 10.11.4(El Capitan)。 $gem install jekyll ERROR : While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources $gem source -l https://ruby.taobao.org $which openssl /usr/local/bin/openssl 欢迎您提出解决此错误的建议。
69 macos  rubygems  rvm 

17
nokogiri gem安装错误
我知道这个宝石有很多问题,但是没有答案对我有用。 当我在SSH中运行时,出现gem install nokogiri以下错误: Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxml2/2.8.0... OK Running patch with /home/user58952277/.gem/ruby/1.9.3/gems/nokogiri-1.6.2.1/ports/patches/libxml2/0001-Fix-parser-local-buffers-size-problems.patch... Running 'patch' for libxml2 2.8.0... ERROR, review 'tmp/x86_64-unknown-linux-gnu/ports/libxml2/2.8.0/patch.log' to see what happened. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more …
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.