2011-08-28 5 views
2

Ruby on Rails를 처음 사용하면서 다음과 같은 문제가 발생했습니다 : rake db:migrate.Ruby on Rails - 새로운 Ruby 도움말 rake db : migrate

$ bundle install  
Using rake (0.9.2)  
Using abstract (1.0.0)  
Using activesupport (3.0.9)  
Using builder (2.1.2) 
Using i18n (0.5.0) 
Using activemodel (3.0.9) 
Using erubis (2.6.6) 
Using rack (1.2.3) 
Using rack-mount (0.6.14) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.29) 
Using actionpack (3.0.9) 
Using mime-types (1.16) 
Using polyglot (0.3.2) 
Using treetop (1.4.10) 
Using mail (2.2.19) 
Using actionmailer (3.0.9) 
Using arel (2.0.10) 
Using activerecord (3.0.9) 
Using activeresource (3.0.9) 
Using bundler (1.0.18) 
Using rdoc (3.9.4) 
Using thor (0.14.6) 
Using railties (3.0.9) 
Using rails (3.0.9) 
Using sqlite3-ruby (1.2.5) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. 
다음

, 내가 할 때와 rake db:migrate, 난 다음 얻을 :

$ rake db:migrate 
Could not find polyglot-0.3.2 in any of the sources 
Run `bundle install` to install missing gems. 

누구나 어떤 조언을 내가 설치 번들 후

, 다음 다가와서? 감사.

나는 루비 1.8.7에 오전이 설치되어 3.0.9

+1

Gemfile의 'gem'polyglot''이 생산 또는 테스트와 같은 그룹에 중첩되어 있지 않은지 확인하십시오 – ecoologic

답변

1

확인 레일 :

bundle exec rake db:migrate 
: 확인 레이크이 gemfile에 지정된 무엇을 사용하기 위해

gem list -d polyglot 

실행 번들 간부를

-2

예 ... 분명히 다색 보석은 보석 파일에 포함되어 있지 않습니다. 보석 설치 다각형을 수행하십시오 ... 희망이 있습니다! 번들 exec rake db : migrate도 도움이 될 수 있습니다.

+0

Polyglot이 Bundler에 의해 ActionMailer의 의존성으로 설치 될 것입니다 - > Mail -> Treetop -> Polyglot. – jdeseno