나는 다음 않았다 기본적으로 이어지고와 협력에 새로운 오전. 그런 다음 핵심 폴더를보고 필요한 모든 파일을 가져 왔습니다. Spree를 사용자 정의하고 일부 변경을 수행하기 때문에이 작업을 수행 한 이유는 순전히입니다. 번들을 설치하고 번들 exec rake db : 리셋을 시도했는데 리셋을 시도하고 해결하려고 노력한 오류가 발생했습니다. 다음 파일을 보았습니다초기화되지 않은 상수 슈 프레 :: 사용자 :: DestroyWithOrdersError
->/home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth 1.1.0/app/controllers/spree/admin/admin_users_controller_decorator.rb
Pastie처럼 보입니다. 나는 Ryan Biggs가 언급 한 다음 github issue github issue도 발견했습니다. 나는 이것을 시도했지만 운이 없었다.
내가 여기서 잘못한 것은 무엇입니까?
초기화되지 않은 상수 슈 프레 :: 사용자 :: DestroyWithOrdersError /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth-1.1.0/app/controllers/spree/admin/ admin_users_controller_decorator.rb : 3 :
block in <top (required)>' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth-1.1.0/app/controllers/spree/admin/admin_users_controller_decorator.rb:2:in
class_eval ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth-1.1.0/app/controllers/spree/admin/admin_users_controller_decorator에서 .rb : 2 : in<top (required)>' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth-1.1.0/lib/spree/auth/engine.rb:13:in
블록 활성화 중 ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth-1.1.0/lib/spree/auth/engine.rb:12 : inglob' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/spree_auth-1.1.0/lib/spree/auth/engine.rb:12:in
활성화 ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:451:in_run__1016855746__prepare__693579178__callbacks' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in
__run_callback ' /home/dj/.rvm /gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in_run_prepare_callbacks' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in
run_callbacks ' /home/dj/.rvm/gems/ruby-1.9.2 -p290/gems/actionpack-3.2.3/lib/action_dispatch/middleware/reloader.rb : 74 :prepare!' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.3/lib/action_dispatch/middleware/reloader.rb:48:in
준비! /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/application/finisher.rb:47:inblock in <module:Finisher>' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:30:in
instance_exec ' /home/dj /. ruby-1.9.2-p290/gems/raties-3.2.3/lib/rails/initializable.rb : 30 :run' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:55:in
run_initializers의 블록 /home/dj/.rvm/gems/ruby- 1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb : 54 :each' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:54:in
run_initializers ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/ railties-3.2.3/lib/rails/application.rb : 136 :initialize!' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in
method_missing '/home/dj/Desktop/my_store/config/environment.rb:5:in<top (required)>' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/application.rb:103:in
require_environment!' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/application.rb:292:in ' /home/dj/.rvm /gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:inblock in execute' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:200:in
각 ' /home/dj/.rvm/gems/ruby-1.9.2 -p290/gems/rake-0.9.2.2/lib/rake/task.rb : 200 :execute' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:158:in
invoke_with_call_chain의 블록 ' /home/dj/.rvm/rubies/ruby-1.9.2-p290/lib/ruby /1.9.1/monitor.rb:201:inmon_synchronize' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:151:in
invoke_with_call_chain ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb : 176 :block in invoke_prerequisites' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:174:in
각 ' /home/dj/.rvm/gems/ruby-1.9.2-p29 0/gems/rake-0.9.2.2/lib/rake/task.rb : 174 : ininvoke_prerequisites' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:157:in
invoke_with_call_chain의 블록 ' /home/dj/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/ 1.9.1/모니터.RB : 201 : 'mon_synchronize' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:151:in
invoke_with_call_chain에invoke' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:116:in
invoke_task /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:144:in ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock (2 levels) in top_level' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:94:in
각' /home/dj /. rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb : 94 : inblock in top_level' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133:in
standard_exception_handling ' /home/dj/.rvm/gems/ruby-1.9. 2-p290/gems/rake-0.9.2.2/lib/rake/application.rb : 88 :top_level' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:66:in
블록 실행 중 ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/application.rb : 133 :에서standard_exception_handling' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:63:in
run ' /home/dj/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/bin/rake:33:in<top (required)>' /home/dj/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in
로드'/home/dj/.rvm/ 보석/루비 1.9.2-p290/빈/레이크 : 19 : 작업`에서 : TOP은 => DB : 재설정 => 환경