我正在尝试使用sync和fyne开发一个简单的rails应用程序来同步多个窗口上的网页上的数据。我按照同步GitHub说明但在运行rackup sync.ru -E production
时我在puma.rb中收到NameError错误。错误日志如下。
config/puma.rb:15:in `block in _load_from': uninitialized constant #<Class:#<Puma::DSL:0x000000026a5b60>>::ActiveSupport (NameError)
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/configuration.rb:276:in `block in run_hooks'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/configuration.rb:276:in `each'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/configuration.rb:276:in `run_hooks'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:260:in `worker'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:126:in `block (2 levels) in spawn_workers'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:126:in `fork'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:126:in `block in spawn_workers'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:122:in `times'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:122:in `spawn_workers'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:200:in `check_workers'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/cluster.rb:471:in `run'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/puma/launcher.rb:183:in `run'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/puma-3.11.2/lib/rack/handler/puma.rb:69:in `run'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/rack-2.0.3/lib/rack/server.rb:297:in `start'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/rack-2.0.3/lib/rack/server.rb:148:in `start'
from /home/sam/.rvm/gems/ruby-2.4.1/gems/rack-2.0.3/bin/rackup:4:in `<top (required)>'
from /home/sam/.rvm/gems/ruby-2.4.1/bin/rackup:23:in `load'
from /home/sam/.rvm/gems/ruby-2.4.1/bin/rackup:23:in `<main>'
from /home/sam/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
from /home/sam/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'