When I tried to initalize with
guard --debug
the following error occured.
For a better Pry experience on Windows, please use ansicon:
http://adoxa.3eeweb.com/ansicon/
DL is deprecated, please use Fiddle
21:14:45 - INFO - You must 'gem install win32console' to use color on Windows
21:14:45 - ERROR - Could not load 'guard/livereload' or find class Guard::Livere
load
21:14:45 - ERROR - C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:126:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:126:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-
x86-mingw32/lib/ruby_http_parser.rb:2:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `rescue in require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:144:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-
x86-mingw32/lib/http_parser.rb:2:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `rescue in require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:144:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-
x86-mingw32/lib/http/parser.rb:1:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket/handshake.rb:1:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket.rb:15:in `block in <top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket.rb:14:in `each'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket.rb:14:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload/websocket.rb:2:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload.rb:6:in `<class:LiveReload>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload.rb:5:in `<module:Guard>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload.rb:4:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `rescue in require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:144:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/plugin_util.rb:100:in `plugin_class'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/plugin_util.rb:57:in `initialize_plugin'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
.rb:167:in `add_plugin'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/dsl.rb:174:in `block in guard'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/dsl.rb:173:in `each'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/dsl.rb:173:in `guard'
> [#] C:/Users/ZAW OO/Desktop/work/Guardfile:39:in `_instance_eval_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/guardfile/evaluator.rb:97:in `instance_eval'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/guardfile/evaluator.rb:97:in `_instance_eval_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/guardfile/evaluator.rb:37:in `evaluate_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/setuper.rb:146:in `evaluate_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/setuper.rb:64:in `setup'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/commander.rb:24:in `start'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/cli.rb:107:in `start'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/
command.rb:27:in `run'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/
invocation.rb:126:in `invoke_command'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.
rb:359:in `dispatch'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/
base.rb:440:in `start'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/bin/guard
:6:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `load'
> [#] C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `<main>'
21:14:45 - ERROR - Invalid Guardfile, original error is:
> [#] undefined method `superclass' for nil:NilClass
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard/plugi
n_util.rb:57:in `initialize_plugin': undefined method `superclass' for nil:NilCl
ass (NoMethodError)
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard.rb:167:in `add_plugin'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/dsl.rb:174:in `block in guard'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/dsl.rb:173:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/dsl.rb:173:in `guard'
from C:/Users/ZAW OO/Desktop/work/Guardfile:39:in `_instance_eval_guardf
ile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/guardfile/evaluator.rb:97:in `instance_eval'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/guardfile/evaluator.rb:97:in `_instance_eval_guardfile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/guardfile/evaluator.rb:37:in `evaluate_guardfile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/setuper.rb:146:in `evaluate_guardfile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/setuper.rb:64:in `setup'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/commander.rb:24:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/cli.rb:107:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor/command.rb:27:in `run'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor/invocation.rb:126:in `invoke_command'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor.rb:359:in `dispatch'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor/base.rb:440:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/bi
n/guard:6:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `load'
from C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `<main>'
here is my guard file
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'sass', :input => 'sass', :output => 'css'
guard 'livereload' do
watch(%r{.+\.(css|html|js)$})
end
But When I leave blank for livereload part in guardfile, It work as normal. I also tried to install Win32console but package isn't present and later I found out it doesn't need for ruby 2. I run guard under ruby 2.0.0p195 (2013-05-14) [i386-mingw32] on 64bit (Window 7).
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
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 ?
I install latest version as official help said in this link. I try install this bundle on windows 10. Installing step was successful but when I want run that, I get following error.
I try install this version from this link. I'm using Windows 10 x64. I Checked the system %PATH% environment,too, but it is correct as official help said.
C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require': cannot load such file -- rex/post/meterpreter/packet (LoadError)
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/rex/post/meterpreter/extensions/stdapi/railgun/tlv.rb:26:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rb:41:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/post/windows/railgun.rb:2:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/post/windows.rb:13:in `<module:Windows>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/post/windows.rb:3:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/post.rb:18:in `<class:Post>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/post.rb:6:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/exploit.rb:32:in `<class:Exploit>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/exploit.rb:30:in `<module:Msf>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/exploit.rb:5:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/auxiliary/mqtt.rb:3:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/auxiliary/mixins.rb:27:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/auxiliary.rb:16:in `<class:Auxiliary>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/auxiliary.rb:14:in `<module:Msf>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/auxiliary.rb:4:in `<top (required)>'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `block in require'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/metasploit-framework/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.11/lib/active_support/dependencies.rb:274:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core.rb:66:in `<top (required)>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/payload/apk.rb:3:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/payload/apk.rb:3:in `<top (required)>'
from C:/metasploit-framework/embedded/framework/lib/msf/core/payload_generator.rb:2:in `require'
from C:/metasploit-framework/embedded/framework/lib/msf/core/payload_generator.rb:2:in `<top (required)>'
from C:/metasploit-framework/bin/../embedded/framework/msfconsole:48:in `require'
from C:/metasploit-framework/bin/../embedded/framework/msfconsole:48:in `<main>'
I'm trying to run a puma project on my Windows 8 machine and keep getting this error whenever I try to run bundle puma exec -p 4567 I get an error about a Bad file descriptor in part of the backports code.
PS C:\Users\andrew\work\test> bundle exec puma -p 4567
DL is deprecated, please use Fiddle
*** SIGUSR2 not implemented, signal based restart unavailable!
*** SIGUSR1 not implemented, signal based restart unavailable!
*** SIGHUP not implemented, signal based logs reopening unavailable!
Puma starting in single mode...
* Version 2.9.1 (ruby 2.0.0-p576), codename: Team High Five
* Min threads: 0, max threads: 16
* Environment: development
! Unable to load application
C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1.9.1/io/open.
rb:2:in `close': Bad file descriptor - C:/Ruby200/lib/ruby/gems/2.0.0/gems/backp
orts-3.4.0/lib/backports/1.9.1/io/open.rb (Errno::EBADF)
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.1/io/open.rb:2:in `open'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.1/io/open.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:22:in `block in require_relative_dir'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:21:in `each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:21:in `require_relative_dir'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.1/io.rb:3:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:22:in `block in require_relative_dir'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:21:in `each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:21:in `require_relative_dir'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.1.rb:3:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.2.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.3.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/1
.9.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/2
.0.0.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/2
.0.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/2
.1.0.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/2
.1.rb:2:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports/t
ools.rb:328:in `require_with_backports'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/backports-3.4.0/lib/backports.r
b:3:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/sinatra-contrib-1.4.2/lib/sinat
ra/capture.rb:3:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/sinatra-contrib-1.4.2/lib/sinat
ra/capture.rb:3:in `<top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/sinatra-contrib-1.4.2/lib/sinat
ra/content_for.rb:2:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/sinatra-contrib-1.4.2/lib/sinat
ra/content_for.rb:2:in `<top (required)>'
from C:/Users/andrew/work/youcue/routes.rb:2:in `require'
from C:/Users/andrew/work/youcue/routes.rb:2:in `<top (required)>'
from config.ru:3:in `require'
from config.ru:3:in `block in <main>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:
55:in `instance_eval'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:
55:in `initialize'
from config.ru:in `new'
from config.ru:in `<main>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:
49:in `eval'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:
49:in `new_from_string'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:
40:in `parse_file'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/puma-2.9.1/lib/puma/configurati
on.rb:96:in `app'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/puma-2.9.1/lib/puma/runner.rb:1
13:in `load_and_bind'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/puma-2.9.1/lib/puma/single.rb:7
3:in `run'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/puma-2.9.1/lib/puma/cli.rb:499:
in `run'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/puma-2.9.1/bin/puma:10:in `<top
(required)>'
from C:/Ruby200/bin/puma:23:in `load'
from C:/Ruby200/bin/puma:23:in `<main>'
I'm using
ruby 2.0.0p576 (2014-09-19) [i386-mingw32]
DevKit-mingw64-32-4.7.2-20130224
I was able to successfully run install (had to install the ssl headers to get it to work), but I keep getting this error when I try to deploy the puma server. I'm pretty new to ruby development, so I'm unsure what other things I could look into or how to resolve the EBADF error in a gem.
Thanks!
This is fixed in the latest release of Backports (3.6.1) per issue 86. Either require 3.6.1 or go back to p481