2013-10-04 85 views
1

我正在尝试将refinerycms与我现有的rails应用程序(我的应用程序使用devise)集成。 遵循了这一tutorial和运行命令rails g refinery:cms --fresh-installation将refinerycms集成到现有的rails应用程序

时得到这个错误
== AddSourceUrlToBlogPosts: migrating ======================================== 
rake aborted! 
An error has occurred, this and all later migrations canceled: 

uninitialized constant Refinery::User/home/sunloverz/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:230:in `block in constantize' 
/home/sunloverz/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `each' 

我的Gemfile:

source 'https://rubygems.org' 

gem 'rails', '3.2.13' 

# Bundle edge Rails instead: 
# gem 'rails', :git => 'git://github.com/rails/rails.git' 

group :development, :test do 
    gem 'sqlite3' 
end 


# Gems used only for assets and not required 
# in production environments by default. 
group :assets do 
    gem 'sass-rails', '~> 3.2.3' 
    gem 'coffee-rails', '~> 3.2.1' 

    # See https://github.com/sstephenson/execjs#readme for more supported runtimes 
    # gem 'therubyracer', :platforms => :ruby 

    gem 'uglifier', '>= 1.0.3' 
end 

gem 'jquery-rails', '~> 2.3.0' 

gem "devise", "~> 2.2.3" 

gem "refinerycms-core", "~> 2.1.0" 
gem "refinerycms-dashboard", "~> 2.1.0" 
gem "refinerycms-images", "~> 2.1.0" 
gem "refinerycms-pages", "~> 2.1.0" 
gem "refinerycms-resources", "~> 2.1.0" 
gem 'refinerycms-blog', :git => '[email protected]thub.com:refinery/refinerycms-blog.git', :branch => 'master' 

回答

相关问题