diff --git a/Gemfile b/Gemfile index ae2a084..8299183 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,7 @@ gem "sass", "~> 3.7" ## # Web server -gem "server.rb", path: "./packages/ruby/server" +gem "server.rb", path: "./packages/ruby/server.rb" ## # Other diff --git a/Gemfile.lock b/Gemfile.lock index 01b5cdb..765f95c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,5 +1,5 @@ PATH - remote: packages/ruby/server + remote: packages/ruby/server.rb specs: server.rb (0.1.0) puma (~> 6.3) @@ -70,7 +70,7 @@ GEM nanoc-tidy.rb (0.4.0) nanoc-webpack.rb (0.5.6) ryo.rb (~> 0.4) - nio4r (2.7.0) + nio4r (2.7.1) paint (2.3.0) parallel (1.24.0) parser (3.3.0.5) @@ -84,7 +84,7 @@ GEM puma (6.4.2) nio4r (~> 2.0) racc (1.7.3) - rack (3.0.9) + rack (3.0.10) rainbow (3.1.1) rainpress (1.0.1) rb-fsevent (0.11.2) diff --git a/Rakefile.rb b/Rakefile.rb index 35224bb..cec8352 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -21,7 +21,7 @@ task :server, [:protocol] do |_t, args| else {host: nanoc.server.tcp.host, port: nanoc.server.tcp.port} end - s = Server.for_dir(nanoc.output_dir, o) + s = Server.dir(nanoc.output_dir, o) s.start(block: true) rescue Interrupt s.stop