解压缩rBoard
并运行rake gems:install
后,我收到以下错误:
C:\ Communit \ rboard> rake gems:install --trace(在C:/ Communit / rboard中) DEPRECATION WARNING:在vendor / plugins / acts_as_snook / tasks中执行Rake任务 不推荐使用。请改用lib / tasks。 (来自 C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/ 任务/ rails.rb:10) **调用gems:install(first_time) **调用gems:base(first_time) **执行宝石:基地 **调用环境(first_time) **执行环境 耙子流产了!未初始化的常量Sass :: Plugin C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci es.rb:440:
load_missing_constant' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci es.rb:80:in
const_missing' C:/Communit/rboard/config/environment.rb:86 C:/Tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:在gem_original_re quire' C:/Tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
需要” C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci es.rb:156:在require' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci es.rb:521:in
new_constants_in'中 C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependenci es.rb:156:require' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/misc.rake:4 C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
来电' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:在execute' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
每个” C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:在execute' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_c hain' C:/Tools/Ruby187/lib/ruby/1.8/monitor.rb:242:insynchronize' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_c hain' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:在invoke' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/gems.rake:17 C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
称之为” C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:在execute' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
每个” C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:在execute' C:/Tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_c
知道可能是什么问题吗?
答案 0 :(得分:0)
Sass :: Plugin由Haml gem提供。安装此gem并再次尝试rake任务。