vagrant@default-ubuntu-1404:~$ /opt/rubies/2.2.4/bin/minimart mirror --load-deps
Fetching the universe for https://supermarket.chef.io ...
-- Downloading nodejs 2.4.4
-- Downloading yum-epel 0.6.6
-- Downloading yum 3.10.0
-- Downloading build-essential 3.2.0
-- Downloading seven_zip 2.0.0
-- Downloading windows 1.39.2
-- Downloading chef_handler 1.3.0
-- Downloading ark 1.0.1
-- Downloading apt 3.0.0
-- Downloading homebrew 2.1.0
Minimart is done building your inventory!
The inventory can be found in ./inventory
vagrant@default-ubuntu-1404:~$
Trying to generate the endpoint:
vagrant@default-ubuntu-1404:~$ sudo /opt/rubies/2.2.4/bin/minimart web --host=minimart.example.com
Building the cookbook index.
Generating Minimart HTML.
/opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:85:in `initialize': /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/../web/templates/dashboard.erb is not valid US-ASCII (Encoding::InvalidByteSequenceError)
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/template_helper.rb:30:in `new'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/template_helper.rb:30:in `template'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/template_helper.rb:17:in `render_template'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/dashboard_generator.rb:33:in `block in generate_template_content'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/../web/templates/layout.erb:26:in `block in singleton class'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/../web/templates/layout.erb:-6:in `instance_eval'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/../web/templates/layout.erb:-6:in `singleton class'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/../web/templates/layout.erb:-8:in `__tilt_47167812802960'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:164:in `call'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:164:in `evaluate'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:99:in `render'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/template_helper.rb:23:in `render_in_base_layout'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/dashboard_generator.rb:33:in `generate_template_content'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/dashboard_generator.rb:26:in `generate'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/html_generator.rb:66:in `generate_index'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/web/html_generator.rb:29:in `generate'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/commands/web.rb:77:in `generate_html'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/commands/web.rb:41:in `execute!'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/lib/minimart/cli.rb:95:in `web'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /opt/rubies/2.2.4/lib/ruby/gems/2.2.0/gems/minimart-1.2.0/bin/minimart:4:in `<top (required)>'
from /opt/rubies/2.2.4/bin/minimart:23:in `load'
from /opt/rubies/2.2.4/bin/minimart:23:in `<main>'
vagrant@default-ubuntu-1404:~$
Hi there,
I'm testing minimart and facing the following issue:
Ruby version, gem version, installed gems (minimart 1.2.0) and nodejs version:
Inventory file:
Retrieving the cookbooks to generate the mirror:
Trying to generate the endpoint: