I am setting up openshift client tools as described here : https://developers.openshift.com/en/getting-started-windows.html but i am getting an error on the command "rhc setup" . Error : cannot load such file -- dl/import (LoadError) I have searched for it and found solution on stackoverflow:
Solution link : rhc setup gives error `no such file dl/import`
I have updated net-ssh to 2.9.3.beta1 but i am still getting this error . Full stack trace is given below .
C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- dl/import (LoadError)
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/pageant.rb:1:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/agent/socket.rb:5:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/agent.rb:22:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/key_manager.rb:4:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/authentication/session.rb:4:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh.rb:11:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/ssh_helpers.rb:18:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/wizard.rb:77:in `<class:Wizard>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/wizard.rb:7:in `<module:RHC>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/wizard.rb:6:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/commands/base.rb:4:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/commands/account.rb:2:in `<module:Commands>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/commands/account.rb:1:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/commands.rb:189:in `block in load'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/commands.rb:188:in `each'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/commands.rb:188:in `load'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/lib/rhc/cli.rb:36:in `start'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.38.4/bin/rhc:20:in `<top (required)>'
from C:/Ruby22-x64/bin/rhc:23:in `load'
from C:/Ruby22-x64/bin/rhc:23:in `<main>'
By your stack trace you are on Ruby 2.2. Down grade to 1.9.3 or 2.2.0.
Related
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>'
This is my first time trying out openshift or similar services and I have been running into problems with rhc setup.
I have installed Ruby, Git and rhc according to the documentation here, but when I run the rhc setup command in command prompt I get the following error:
C:\Users\Richie>rhc setup
C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
: cannot load such file -- dl/import (LoadError)
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
thentication/pageant.rb:1:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
thentication/agent/socket.rb:5:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
thentication/agent.rb:22:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
thentication/key_manager.rb:4:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
thentication/session.rb:4:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh.rb
:11:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/ssh_helpe
rs.rb:18:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/wizard.rb
:77:in `<class:Wizard>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/wizard.rb
:7:in `<module:RHC>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/wizard.rb
:6:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands/
base.rb:4:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands/
account.rb:2:in `<module:Commands>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands/
account.rb:1:in `<top (required)>'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
:in `require'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands.
rb:189:in `block in load'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands.
rb:188:in `each'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands.
rb:188:in `load'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/cli.rb:36
:in `start'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/bin/rhc:20:in `<t
op (required)>'
from C:/Ruby22-x64/bin/rhc:23:in `load'
from C:/Ruby22-x64/bin/rhc:23:in `<main>'
I am running Windows 7 if that makes a difference.
If someone can help me resolve this issue it would be much appreciated as I have little experience with this stuff myself.
Use the recommended version (1.9.3)
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