Re: Warnings re: already initialized constants

2022-04-26 Thread sebb
On Tue, 26 Apr 2022 at 16:48, Matt Sicker wrote: > > If there's environment drift in Whimsy VM versus Whimsy Docker, could > we deploy Whimsy as a container instead? Make the Whimsy VM a > container host, that sort of thing. Decouples our versions of Apache, > Ruby, etc., from the underlying OS.

Re: Warnings re: already initialized constants

2022-04-26 Thread Matt Sicker
If there's environment drift in Whimsy VM versus Whimsy Docker, could we deploy Whimsy as a container instead? Make the Whimsy VM a container host, that sort of thing. Decouples our versions of Apache, Ruby, etc., from the underlying OS. On Tue, Apr 26, 2022 at 10:10 AM sebb wrote: > > On Tue, 26

Re: Warnings re: already initialized constants

2022-04-26 Thread sebb
On Tue, 26 Apr 2022 at 16:03, Sam Ruby wrote: > > On Tue, Apr 26, 2022 at 10:27 AM sebb wrote: > > > > On Tue, 26 Apr 2022 at 14:53, Sam Ruby wrote: > > > > > > On Tue, Apr 26, 2022 at 9:29 AM sebb wrote: > > > > > > > > There are a lot of older versions of Gems around - maybe time to do a > >

Re: Warnings re: already initialized constants

2022-04-26 Thread Sam Ruby
On Tue, Apr 26, 2022 at 10:27 AM sebb wrote: > > On Tue, 26 Apr 2022 at 14:53, Sam Ruby wrote: > > > > On Tue, Apr 26, 2022 at 9:29 AM sebb wrote: > > > > > > There are a lot of older versions of Gems around - maybe time to do a > > > cleanup? > > > > It would take a bit of refactoring, but the

Re: Warnings re: already initialized constants

2022-04-26 Thread sebb
On Tue, 26 Apr 2022 at 14:53, Sam Ruby wrote: > > On Tue, Apr 26, 2022 at 9:29 AM sebb wrote: > > > > There are a lot of older versions of Gems around - maybe time to do a > > cleanup? > > It would take a bit of refactoring, but there is code in the Rakefile > that might be useful. On my ubuntu

Re: Warnings re: already initialized constants

2022-04-26 Thread Sam Ruby
On Tue, Apr 26, 2022 at 9:29 AM sebb wrote: > > There are a lot of older versions of Gems around - maybe time to do a cleanup? It would take a bit of refactoring, but there is code in the Rakefile that might be useful. On my ubuntu machine, I need to prefix gem install commands with `sudo` and h

Re: Warnings re: already initialized constants

2022-04-26 Thread sebb
On Tue, 26 Apr 2022 at 14:11, Sam Ruby wrote: > > On Tue, Apr 26, 2022 at 8:24 AM sebb wrote: > > > > For example: "warning: already initialized constant Net::ProtocRetryError" > > > > The following Ruby code generates the warning on Whimsy (and in my > > Docker build): > > > > require 'net/http'

Re: Warnings re: already initialized constants

2022-04-26 Thread Sam Ruby
On Tue, Apr 26, 2022 at 8:24 AM sebb wrote: > > For example: "warning: already initialized constant Net::ProtocRetryError" > > The following Ruby code generates the warning on Whimsy (and in my > Docker build): > > require 'net/http' > require 'net/smtp' > > The same happens if the require order i

Warnings re: already initialized constants

2022-04-26 Thread sebb
For example: "warning: already initialized constant Net::ProtocRetryError" The following Ruby code generates the warning on Whimsy (and in my Docker build): require 'net/http' require 'net/smtp' The same happens if the require order is reversed. I wondered why the public json scripts only repor