最新バージョンのactiveadmingemをRailsアプリにインストールしようとしています。ドキュメントhttp://activeadmin.info/documentation.htmlに従いましたが、 rake db:migrateを実行するとこのエラーが発生しました。
rake aborted!
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require': no such file to load -- InheritedResources
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
AliExpressResourcesをインストールしました
gem install InheritedResources
これは私のgemファイルです
source 'https://rubygems.org'
gem 'rails', '3.2.3'
#working with capastrano
# gem 'mysql2', '< 0.3'
#upgraded for local
gem 'mysql2', "~> 0.3.11"
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'compass-rails'
# gem 'haml', '3.1.4'
# gem 'haml-rails'
end
gem 'activeadmin'
gem "meta_search", '>= 1.1.0.pre'
gem 'inherited_resources'
#Media managment
gem 'ruby_parser'
gem 'hpricot'
group :development do
##gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
end
group :test do
end
group :production do
end
# deployment
gem 'capistrano'
これは私の宝石環境です
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-11
- GEM PATHS:
- /Library/Ruby/Gems/1.8
- /Users/aaalsubaie/.gem/ruby/1.8
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc"
- REMOTE SOURCES:
- http://rubygems.org/