添加gem devise_rpx_connectable后db:migration add_rpx_to_admins时出现rails错误

时间:2012-05-26 21:08:08

标签: ruby-on-rails rpx

错误: /Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require': cannot load such file -- devise/schema (LoadError) from /Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in阻止在'require'中     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in load_dependency' from /Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/devise_rpx_connectable-0.2.2/lib/devise_rpx_connectable/schema.rb:2:in <top (required)>' from /Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in block in require' from /Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in load_dependency'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require' from /Users/bo/.rvm/gems/ruby-1.9.3-p194/gems/devise_rpx_connectable-0.2.2/lib/devise_rpx_connectable.rb:13:in'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in require' from /Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in块(2级) in require'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in each' from /Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in阻止在'需要'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in each' from /Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in require'     来自/Users/bo/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler.rb:119:in require' from /Users/bo/Rails/blog/config/application.rb:7:in'     来自script / rails:6:require' from script/rails:6:in'

============================ 我的宝石: 捆绑包含的宝石:   * actionmailer(3.2.3)   * actionpack(3.2.3)   * activemodel(3.2.3)   * activerecord(3.2.3)   * activeresource(3.2.3)   * activesupport(3.2.3)   * arel(3.0.2)   * bcrypt-ruby(3.0.1)   * builder(3.0.0)   * bundler(1.1.3)   * coffee-rails(3.2.2)   *咖啡脚本(2.2.0)   * coffee-script-source(1.3.3)   * copycopter_client(2.0.0)   *设计(2.1.0)   * devise_rpx_connectable(0.2.2)   * erubis(2.7.0)   * execjs(1.3.2)   *加息(1.2.1)   * i18n(0.6.0)   *旅程(1.0.3)   * jquery-datatables-rails(1.9.1.3 9e88f3c)   * jquery-rails(2.0.2)   * jquery-ui-rails(0.4.0)   * json(1.7.3)   * json_pure(1.7.3)   *邮件(2.4.4)   *哑剧型(1.18)   * multi_json(1.3.5)   * orm_adapter(0.0.7)   *多语言(0.3.3)   *机架(1.4.1)   * rack-cache(1.2)   * rack-ssl(1.3.2)   *机架测试(0.6.1)   * rails(3.2.3)   *铁路(3.2.3)   *佣金(0.9.2.2)   * rdoc(3.12)   * rpx_now(0.6.24)   * sass(3.1.18)   * sass-rails(3.2.5)   *链轮(2.1.3)   * sqlite3(1.3.6)   *托尔(0.14.6)   *倾斜(1.3.3)   *树梢(1.4.10)   * tzinfo(0.3.33)   * uglifier(1.2.4)   *监狱长(1.1.1)

谢谢!

0 个答案:

没有答案