1
내가 여기에 지침을 사용하여 커뮤니티 엔진을 설치하려고 해요 : 처음에는 http://github.com/bborn/communityengine오류가 커뮤니티 엔진을 설치하는 동안 : 나가서 설명하자면 NameError - "정의되지 않은 지역 변수 또는 메소드 '지도'
내가했기 때문에 나는 그것이 될 줄 알았는데을 Rails 2.3.5와 desert 0.5.3은 설치 사이트에서 언급 한 것보다 상위 버전이지만 레일 2.3.4와 사막 0.5.2로 이동하면 작동하지 않는다. on?
$ script/generate plugin_migration
/usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecat
ed and will be removed on or after August 2010. Use #requirement
/cygdrive/c/users/me/jesse/projects/ceng1/config/routes.rb:2: undefined local variable or method `map' for main:Object (NameError
)
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:147:in `load_without_new_constant
_marking'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:147:in `load_without_desert'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/object.rb:18:in `load'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/object.rb:32:in `__each_matching_file'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/object.rb:17:in `load'
from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:286:in `load_routes!'
from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:286:in `each'
from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:286:in `load_routes!'
from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:266:in `reload!'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:537:in `initialize_routing'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:188:in `process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
from /cygdrive/c/users/me/jesse/projects/ceng1/config/environment.rb:6
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/generate.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/generate:3
이것은 Windows Vista에서 Cygwin에서 사용 :
이
는 가능한 해결책이 될 수 있습니다. – floatingfrisbee정확히 같은 문제가 있는데 2.3.5에서 2.3.4로 되돌아 갔지만 여전히 작동하지 않습니다! "vendor/plugins/community_engine/config/initializers/sessions_middleware.rb"코드를 주석으로 처리 할 때 모든 명령이 제대로 작동하지만 localhost : 3000으로 이동하면 500 내부 서버 오류가 발생합니다. – zengr