我正在尝试在rails上安装ruby的社交流引擎,但我处理了一个问题。
我添加了
gem 'social_stream'
进入我的GemFile
我做了
bundle
当我发出命令“rails generate social_stream:install”时,我收到以下错误:
root@cl-t178-481cl [/home/ruby/www/network]# rails generate social_stream:install
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/devise-1.1.9/lib/devise.rb:193:in `mailer=': undefined method `ref' for ActiveSupport::Dependencies:Module (NoMethodError)
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/devise-1.1.9/lib/devise.rb:195:in `<module:Devise>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/devise-1.1.9/lib/devise.rb:4:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/social_stream-0.0.5/lib/social_stream/rails.rb:6:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/social_stream-0.0.5/lib/social_stream.rb:53:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/social_stream-0.0.5/lib/social_stream.rb:53:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler/runtime.rb:76:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler/runtime.rb:72:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler/runtime.rb:72:in `block in require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler/runtime.rb:61:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler/runtime.rb:61:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/bundler-1.6.0.pre.1/lib/bundler.rb:131:in `require'
from /home/ruby/public_html/network/config/application.rb:7:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/railties-3.2.13/lib/rails/commands.rb:24:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/railties-3.2.13/lib/rails/commands.rb:24:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
我正在使用Rails 3.2.13 和ruby 1.9.3p484(2013-11-22修订版43786)[i686-linux]