Rack Error ― LoadError: cannot load such file
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Trying to go through the tekpub rack tutorial but run into this error. Boot Error Something went wrong while loading app.ru LoadError: cannot load such file -- haiku There is a file named haiku.rb in the same directory as the app I am trying to run but I get the above error while trying to run the program. Here is the code: class EnvironmentOutput def initialize(app=nil) @app = app end def call(env) out = "" unless(@app.nil?) response = @app.call(env)[2] out+=response end env.keys.each {|key| out+="<li>#{key}=#{env[key]}</li>"} ["200",{