1

我正在尝试对我的 Rails 3.2 Twitter Bootstrap 主题进行故障排除。有些事情不能正常工作。当我运行此命令时,我得到以下看起来不正确或根本不显示路径的输出。有谁知道我做错了什么?

1.9.3p125:003 > y Rails.application.config.assets.paths

  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvYXBwL2Fzc2V0cy9mb250
  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvYXBwL2Fzc2V0cy9pY28=
  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvYXBwL2Fzc2V0cy9pbWFnZXM=
  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvYXBwL2Fzc2V0cy9qYXZhc2NyaXB0cw==
  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvYXBwL2Fzc2V0cy9zdHlsZXNoZWV0cw==
  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvdmVuZG9yL2Fzc2V0cy9qYXZhc2NyaXB0cw==
  • !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvdmVuZG9yL2Fzc2V0cy9zdHlsZXNoZWV0cw==
  • !binary |- L1VzZXJzL21hcmtydXNzb24vLnJ2bS9nZW1zL3J1YnktMS45LjMtcDEyNUBm bGV0Y2hlci9nZW1zL2pxdWVyeS1yYWlscy0yLjAuMi92ZW5kb3IvYXNzZXRz L2phdmFzY3JpcHRz
  • !binary |- L1VzZXJzL21hcmtydXNzb24vLnJ2bS9nZW1zL3J1YnktMS45LjMtcDEyNUBm bGV0Y2hlci9nZW1zL2NvZmZlZS1yYWlscy0zLjIuMi9saWIvYXNzZXRzL2ph dmFzY3JpcHRz
  • !ruby/object:路径名 path: !binary |- L1VzZXJzL21hcmtydXNzb24vRG9jdW1lbnRzL3dlYnNpdGVzL2hvc3Rpbmcv ZmxldGNoZXIvYXBwL2Fzc2V0cy9mb250 => nil
4

1 回答 1

1

你的输出是绝对正常的。它表示由命令返回的 Ruby 对象。您可以在控制台上尝试此代码:

Rails.application.config.assets.paths.each do |p|
  puts p
end

您的申请中还有哪些不正确的地方?

于 2013-01-22T15:54:07.267 回答