Sam Ruby wrote on 5/8/19 10:20 AM:
...snip...
> Have you run 'bundle update'?  If that doesn't solve the problem, try
> "bundle exec rake test:server'.

I've tried install/update a couple of cycles, both with and without
deleting Gemfile.lock beforehand.  Last bundle update didn't change
anything (was all already updated).

But exec does fix the 'already initialized errors', leaving:

agenda curcuru$ bundle exec rake test:server
Watching /Users/curcuru/src/g/whimsy/www/board/agenda
Watching
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-2.0.1/lib
Watching /usr/local/Cellar/rbenv/1.1.2/rbenv.d/exec/gem-rehash

Puma starting in single mode...
* Version 3.12.1 (ruby 2.5.1-p57), codename: Llamas in Pajamas
* Min threads: 0, max threads: 16
* Environment: test
! Unable to load application: LoadError: cannot load such file --
whimsy/asf/rack
Traceback (most recent call last):
        17: from /Users/curcuru/.rbenv/versions/2.5.1/bin/puma:23:in `<main>'
        16: from /Users/curcuru/.rbenv/versions/2.5.1/bin/puma:23:in `load'
        15: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/bin/puma:10:in
`<top (required)>'
        14: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/cli.rb:80:in
`run'
        13: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/launcher.rb:186:in
`run'
        12: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/single.rb:98:in
`run'
        11: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/runner.rb:147:in
`load_and_bind'
        10: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/configuration.rb:245:in
`app'
         9: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/configuration.rb:320:in
`load_rackup'
         8: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in
`parse_file'
         7: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in
`new_from_string'
         6: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in
`eval'
         5: from config.ru:in `<main>'
         4: from config.ru:in `new'
         3: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in
`initialize'
         2: from
/Users/curcuru/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in
`instance_eval'
         1: from config.ru:1:in `block in <main>'
config.ru:1:in `require': cannot load such file -- whimsy/asf/rack
(LoadError)

> 
> - Sam Ruby
> 
> P.S.  You don't need to buy a new mac.

That's half in jest since I'm planning to buy a MacMini anyway - my
beloved Air is getting old, and a desktop would mean 1) using 2 big
monitors, and 2) force me to sit in my good chair more (for my back).

-- 

- Shane
  Whimsy PMC
  The Apache Software Foundation

Reply via email to