I'm using Vagrant with librarian-chef-nochef plugin on Windows host. It works fine until I add a cookbook with "git" option to my Cheffile. Like this:
# Cheffile
site "http://community.opscode.com/api/v1"
cookbook "apt"
cookbook "nginx"
cookbook "nodejs", :github => "redguide/nodejs"
Then I get a strange error about missing README.md file:
C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `instance_eval': No such file or directory - ./README.md (Errno::ENOENT)
My configuration:
Windows 7 x64
Vagrant 1.5.4 with librarian-chef-nochef plugin
Here is the full report:
> vagrant provision
==> default: Installing Chef cookbooks with Librarian-Chef...
C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `instance_eval': No such file or directory - ./README.md (Errno::ENOENT)
from (eval):6:in `initialize'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `instance_eval'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `initialize'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/manifest_reader.rb:28:in `new'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/manifest_reader.rb:28:in `compile_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/manifest_reader.rb:23:in `read_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/source/local.rb:57:in `fetch_manifest_data'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/source/local.rb:49:in `manifest_data'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/source/local.rb:28:in `fetch_version'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:121:in `fetch_version!'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:113:in `fetched_version'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:59:in `version'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:97:in `satisfies?'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/dependency.rb:121:in `satisfied_by?'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:103:in `block in check_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:104:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:104:in `find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:104:in `check_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:63:in `block inrecursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:70:in `block inrecursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:70:in `block inrecursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:50:in `resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver.rb:23:in `resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/action/resolve.rb:26:in `run'
from C:/Users/silentvick/.vagrant.d/gems/gems/vagrant-librarian-chef-nochef-0.1.1/lib/vagrant-librarian-chef/action/librarian_chef.rb:24:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Users/silentvick/.vagrant.d/gems/gems/vagrant-cachier-0.7.1/lib/vagrant-cachier/action/configure_bucket_root.rb:20:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builder.rb:116:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builder.rb:116:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builder.rb:116:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:157:in `action'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/provision/command.rb:35:in `block in execute'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:200:in `block in with_target_vms'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:194:in `each'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:194:in `with_target_vms'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/provision/command.rb:34:in `execute'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/cli.rb:42:in `execute'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:248:in `cli'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/bin/vagrant:164:in `<main>'
if the metadata.rb file require readme file (long_description IO.read(File.join(File.dirname(FILE), 'README.md')) some thing like this) you can create a readme file in the same directory with metadata with something as file content
The problem was fixed in next version of vagrant-librarian-chef-nochef plugin (0.1.2)
Related
I'm trying to upgrade our applications acceptance tests to run on ruby version 3.1.2 from 2.5.3.
And getting this output when running tests through intellij:
/bin/bash -c "env RBENV_VERSION=3.1.2 /home/####/.rbenv/libexec/rbenv exec ruby -EUTF-8 /home/####/.rbenv/versions/3.1.2/bin/cucumber /home/####/git/PATH/TEST_NAME.feature --format 'Teamcity::Cucumber::Formatter' --expand --name '^VbV TEST_NAME ACCEPT$' --color -r features"
Testing started at 11:25 ...
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/cli/profile_loader.rb:68: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/cli/profile_loader.rb:68: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
wrong number of arguments (given 4, expected 3) (ArgumentError)
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filters/node_filter.rb:9:in `initialize'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:115:in `new'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:115:in `add_filter'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:19:in `node_filter'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector.rb:5:in `block in <top (required)>'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:15:in `instance_eval'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:15:in `initialize'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:77:in `new'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:77:in `add'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector.rb:4:in `<top (required)>'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara.rb:433:in `<module:Capybara>'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara.rb:9:in `<top (required)>'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
/home/####/git/PATH/support/env.rb:7:in `<top (required)>'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/glue/registry_and_more.rb:107:in `load'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/glue/registry_and_more.rb:107:in `load_code_file'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:144:in `load_file'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:85:in `block in load_files!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:84:in `each'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:84:in `load_files!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:272:in `load_step_definitions'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:68:in `run!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:34:in `execute!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/bin/cucumber:9:in `<top (required)>'
/home/####/.rbenv/versions/3.1.2/bin/cucumber:25:in `load'
/home/####/.rbenv/versions/3.1.2/bin/cucumber:25:in `<main>'
Process finished with exit code 2
When fakeS3, using the license number, is used to simulate AWS S3 in MAC OS, for testing (as suggested in the documentation), the following error is received:
Command:
sudo fakes3 -r /mnt/fakes3_root -p 4567 --license <<license-number>>
Error Message:
ERROR Errno::EROFS: Read-only file system # dir_s_mkdir - /mnt
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:239:in `mkdir'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:239:in `fu_mkdir'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:217:in `block (2 levels) in mkdir_p'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:215:in `reverse_each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:215:in `block in mkdir_p'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:200:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:200:in `mkdir_p'
/Library/Ruby/Gems/2.6.0/gems/fakes3-2.0.0/lib/fakes3/file_store.rb:64:in `create_bucket'
/Library/Ruby/Gems/2.6.0/gems/fakes3-2.0.0/lib/fakes3/server.rb:208:in `do_PUT'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/webrick/httpservlet/abstract.rb:105:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
Can someone tell me where is my mistake?.
I'm trying to run the feature from Run but I haven't had success.
If I run via terminal it is possible. I've tried several ways but still succeeding.
:\Ruby27-x64\bin\ruby.exe -EUTF-8 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:\Ruby27-x64\bin/cucumber C:/Users/stadeuauli/RubymineProjects/Automation/features/specs/login.feature --format Teamcity::Cucumber::Formatter --expand --tags #loga_user --color -r features
Testing started at 19:08 ...
cannot load such file -- cucumber/core/ast/empty_multiline_argument
Error creating formatter: Teamcity::Cucumber::Formatter (LoadError)
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Program Files/JetBrains/RubyMine 2017.1.2/rb/testing/patch/bdd/teamcity/cucumber/common.rb:24:in `<top (required)>'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Program Files/JetBrains/RubyMine 2017.1.2/rb/testing/patch/bdd/teamcity/cucumber/formatter_03103.rb:15:in `<top (required)>'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Program Files/JetBrains/RubyMine 2017.1.2/rb/testing/patch/bdd/teamcity/cucumber/formatter.rb:72:in `<module:Cucumber>'
C:/Program Files/JetBrains/RubyMine 2017.1.2/rb/testing/patch/bdd/teamcity/cucumber/formatter.rb:38:in `<module:Teamcity>'
C:/Program Files/JetBrains/RubyMine 2017.1.2/rb/testing/patch/bdd/teamcity/cucumber/formatter.rb:37:in `<top (required)>'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/constantize.rb:19:in `rescue in constantize'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/constantize.rb:8:in `constantize'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/configuration.rb:221:in `formatter_class'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/configuration.rb:208:in `block in formatter_factories'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/configuration.rb:207:in `map'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/configuration.rb:207:in `formatter_factories'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/runtime.rb:212:in `formatters'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/runtime.rb:192:in `report'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/runtime.rb:80:in `run!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/lib/cucumber/cli/main.rb:29:in `execute!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cucumber-7.1.0/bin/cucumber:9:in `<top (required)>'
C:/Ruby27-x64/bin/cucumber:23:in `load'
C:/Ruby27-x64/bin/cucumber:23:in `<top (required)>'
-e:1:in `load'
-e:1:in `<main>'
Process finished with exit code 2
I've been using compass from http://compass-style.org/ to manage my sites css for a long time.
I have to make a small intervention on this website but the compass build command doesn't work anymore.
I'm trying to lauch the build command like this : bundle exec compass watch -e production --force --sourcemap
Here the error :
bundler: failed to load command: compass (/home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass)
/usr/lib/ruby/3.0.0/set/sorted_set.rb:4:in `rescue in <top (required)>': The `SortedSet` class has been extracted from the `set` library.You must use the `sorted_set` gem or other alternatives. (RuntimeError)
from /usr/lib/ruby/3.0.0/set/sorted_set.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `<module:ChunkyPNG>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `rescue in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `each'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:8:in `fallback_load_path'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:19:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `load'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `<top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:28:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:474:in `exec'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:30:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:24:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:49:in `block in <top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:37:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
/usr/lib/ruby/3.0.0/set/sorted_set.rb:2:in `require': cannot load such file -- sorted_set (LoadError)
from /usr/lib/ruby/3.0.0/set/sorted_set.rb:2:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `<module:ChunkyPNG>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `rescue in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `each'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:8:in `fallback_load_path'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:19:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `load'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `<top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:28:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:474:in `exec'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:30:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:24:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:49:in `block in <top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:37:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
/home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:2:in `require': cannot load such file -- oily_png (LoadError)
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:2:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `each'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:8:in `fallback_load_path'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:19:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `load'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `<top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:28:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:474:in `exec'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:30:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:24:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:49:in `block in <top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:37:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
My gemfile :
source 'https://rubygems.org'
gem "sass", "~> 3.4.19"
gem "compass", "~> 1.0.3"
gem "susy", "~> 2.2.6"
gem "breakpoint", "~> 2.5.0"
gem "sugarcss", "~> 1.0.0"
How can I get this build command work again ?
While installing chef-server on my VM I am getting the following error.
FATAL: Chef::Exceptions::JSON::EncodeError: Invalid UTF-8 string: cannot encode to UTF-8
and my chef-stacktrace.out is
Chef::Exceptions::JSON::EncodeError: Invalid UTF-8 string: cannot encode to UTF-8
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/json_compat.rb:107:in `rescue in to_json'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/json_compat.rb:104:in `to_json'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http/json_input.rb:35:in `handle_request'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http.rb:222:in `block in apply_request_middleware'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http.rb:220:in `each'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http.rb:220:in `inject'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http.rb:220:in `apply_request_middleware'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http.rb:141:in `request'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/http.rb:118:in `put'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/node.rb:512:in `save'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/client.rb:257:in `save_updated_node'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/client.rb:403:in `run'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/application.rb:243:in `run_with_graceful_exit_option'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/application.rb:220:in `block in run_chef_client'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/local_mode.rb:38:in `with_server_connectivity'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/application.rb:201:in `run_chef_client'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/application/client.rb:328:in `run_application'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/lib/chef/application.rb:58:in `run'
/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.3/bin/chef-client:26:in `<top (required)>'
/opt/opscode/embedded/bin/chef-client:23:in `load'
/opt/opscode/embedded/bin/chef-client:23:in `<main>'
~
~
~
I have tried almost everything. I realised that the issue was related to encoding but couldn't solve it. Any help is appreciated.
thanks.
I believe this should be fixed in version 12.4.0
https://github.com/chef/chef/issues/3216