我想使用瘦服务器启动我的应用程序
在 config.ru
require 'sinatra'
require 'app'
run Sinatra.application
他们在同一个目录
kithokit@19:05:26 hello (master) $ ls config.ru app.rb
app.rb config.ru
但我仍然收到此错误
kithokit@19:05:14 meet-api (master) $ thin start
Using rack adapter
/home/kithokit/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- app (LoadError)
from /home/kithokit/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'