新手问题 Rails 启动时的报错 invalid Unicode escape

angelfan · 2015年01月26日 · 最后由 chenge 回复于 2015年01月26日 · 2223 次阅读

ArgumentError: regexp preprocess failed: invalid Unicode escape Backtrace at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-10.0.2/lib/rake/backtrace.rb:10 Rake at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-10.0.2/lib/rake/backtrace.rb:2 (root) at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-10.0.2/lib/rake/backtrace.rb:1 require at org/jruby/RubyKernel.java:1071 require at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/polyglot-0.3.3/lib/polyglot.rb:63 (root) at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-10.0.2/lib/rake/backtrace.rb:61 require at org/jruby/RubyKernel.java:1071 require at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-10.0.2/lib/rake.rb:68 each at org/jruby/RubyArray.java:1620 require at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/bundler-1.2.2/lib/bundler/runtime.rb:66 each at org/jruby/RubyArray.java:1620 require at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/bundler-1.2.2/lib/bundler/runtime.rb:55 require at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/bundler-1.2.2/lib/bundler.rb:128 (root) at D:/studyresource/evndajian/ESF VPDC/config/application.rb:8 require at org/jruby/RubyKernel.java:1071 (root) at D:/studyresource/evndajian/ESF VPDC/config/application.rb:53 tap at org/jruby/RubyKernel.java:1816 (root) at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/commands.rb:50 require at org/jruby/RubyKernel.java:1071 (root) at D:/use/studyinstallpath/jruby/jruby-1.6.8/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/commands.rb:6 load at org/jruby/RubyKernel.java:1097 (root) at -e:1 求个解决办法

有谁遇到过类似的问题啊

可否用 Ruby 测试下,不用 jruby

需要 登录 后方可回复, 如果你还没有账号请 注册新账号