Ruby on rails 找不到gem';jquery rails(~>;1.1.6)ruby';在这台机器上可用的宝石中
我正在尝试用Desive实现社会流。当我执行这个rails生成社交流时:install。我收到错误Bundler找不到gem“Desive”的兼容版本: 在文件中: 社交流(>=0)ruby依赖于 设计(~>1.1.3)红宝石 在我更新包之后 然后错误是这样的Ruby on rails 找不到gem';jquery rails(~>;1.1.6)ruby';在这台机器上可用的宝石中,ruby-on-rails,gemfile,social-stream,Ruby On Rails,Gemfile,Social Stream,我正在尝试用Desive实现社会流。当我执行这个rails生成社交流时:install。我收到错误Bundler找不到gem“Desive”的兼容版本: 在文件中: 社交流(>=0)ruby依赖于 设计(~>1.1.3)红宝石 在我更新包之后 然后错误是这样的 Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/cis/.rvm/rubies/ruby-1
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/cis/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.2. Can't find Magick-config in /home/cis/.rvm/gems/ruby-1.9.3-p125/bin:/home/cis/.rvm/gems/ruby-1.9.3-p125@global/bin:/home/cis/.rvm/rubies/ruby-1.9.3-p125/bin:/home/cis/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/cis/.rvm/bin
*** 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
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/cis/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
Gem files will remain installed in /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/rmagick-2.13.2 for inspection.
Results logged to /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/rmagick-2.13.2/ext/RMagick/gem_make.out
An error occurred while installing rmagick (2.13.2), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling.
在解决了依赖性问题后,我得到了
/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/devise-1.1.9/lib/devise.rb:193:in `mailer=': undefined method `ref' for ActiveSupport::Dependencies:Module (NoMethodError)
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/devise-1.1.9/lib/devise.rb:195:in `<module:Devise>'
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/devise-1.1.9/lib/devise.rb:4:in `<top (required)>'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in `require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in `each'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in `block in require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in `each'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in `require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler.rb:132:in `require'
from /home/cis/test_app/config/application.rb:7:in `<top (required)>'
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.12/lib/rails/commands.rb:24:in `require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.12/lib/rails/commands.rb:24:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>
/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/designe-1.1.9/lib/designe.rb:193:in'mailer=':ActiveSupport的未定义方法'ref':依赖项:模块(NoMethodError)
from/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/designe-1.1.9/lib/designe.rb:195:in`'
from/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/designe-1.1.9/lib/designe.rb:4:in`'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in'require'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in'block(2层)in require'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in'each'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in'block in require'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in'each'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in'require'
from/home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler.rb:132:in'require'
from/home/cis/test\u app/config/application.rb:7:in`'
from/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.12/lib/rails/commands.rb:24:in'require'
from/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.12/lib/rails/commands.rb:24:in`'
来自脚本/rails:6:in'require'
从脚本/rails:6:in`
我尝试用social_stream整理jQueryRails的依赖关系,但也没有成功
请帮我整理一下这一系列错误社交流目前与Deave的最新版本不兼容。欢迎使用补丁。见第页的问题
/home/cis/.rvm/gems/ruby-1.9.3-p125/gems/devise-1.1.9/lib/devise.rb:193:in `mailer=': undefined method `ref' for ActiveSupport::Dependencies:Module (NoMethodError)
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/devise-1.1.9/lib/devise.rb:195:in `<module:Devise>'
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/devise-1.1.9/lib/devise.rb:4:in `<top (required)>'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in `require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in `each'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:70:in `block in require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in `each'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler/runtime.rb:59:in `require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.3.0/lib/bundler.rb:132:in `require'
from /home/cis/test_app/config/application.rb:7:in `<top (required)>'
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.12/lib/rails/commands.rb:24:in `require'
from /home/cis/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.12/lib/rails/commands.rb:24:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>