Comments (6)
@sobrinho Can you try with ox-2.14.12? It seems same issue of #300. You may use the latest version of RubyGems in Ruby docker image.
from ox.
# ruby -v
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
# gem install ox
Fetching ox-2.14.11.gem
Building native extensions. This could take a while...
Successfully installed ox-2.14.11
1 gem installed
# irb
irb(main):001:0> gem 'ox', '2.14.11'
=> true
irb(main):002:0> require 'ox'
Traceback (most recent call last):
9: from /usr/local/bin/irb:23:in `<main>'
8: from /usr/local/bin/irb:23:in `load'
7: from /usr/local/lib/ruby/gems/2.7.0/gems/irb-1.2.6/exe/irb:11:in `<top (required)>'
6: from (irb):2
5: from /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:85:in `require'
4: from /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:85:in `require'
3: from /usr/local/bundle/gems/ox-2.14.11/lib/ox.rb:79:in `<top (required)>'
2: from /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:85:in `require'
1: from /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:85:in `require'
LoadError (cannot load such file -- ox/ox)
from ox.
Works fine on docker, so, something might be messed up on CircleCI, but still not sure how to debug:
$ docker run --rm -it --platform=linux/amd64 ruby:2.7.6-buster bash
Unable to find image 'ruby:2.7.6-buster' locally
2.7.6-buster: Pulling from library/ruby
2730d739afad: Pull complete
a122751b3533: Pull complete
0a277c3efe7c: Pull complete
25c35b81c503: Pull complete
cb8cde86ddb2: Pull complete
1b4693b2324f: Pull complete
558286cb3a23: Pull complete
ca7d15697c52: Pull complete
Digest: sha256:f2ba73c31b11be325121bc5018231e21e13348c3b3bc75be44e7a6568893f5c1
Status: Downloaded newer image for ruby:2.7.6-buster
root@de375efbf8e4:/# ruby -v
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
root@de375efbf8e4:/# gem install ox
Fetching ox-2.14.11.gem
Building native extensions. This could take a while...
Successfully installed ox-2.14.11
1 gem installed
root@de375efbf8e4:/# irb
irb(main):001:0> gem 'ox', '2.14.11'
=> true
irb(main):002:0> require 'ox'
=> true
irb(main):003:0>
from ox.
What platform does Circle CI run on? Windows? Linux? MacOS?
from ox.
It worked, nice, thanks! ❤️
from ox.
I'm having the same kind of error.I'm using a mac m1 pro.How to fix it?I have already installed ox gem and its showing true.However the rails s command is still not working.
mhingar@IN-MHINGAR-MBP enlighten % rails s
/Users/mhingar/rails/enlighten/vendor/gems/rails_sql_views-0.8.0/rails_sql_views.gemspec:72: warning: constant Gem::RubyGemsVersion is deprecated
/Users/mhingar/rails/enlighten/vendor/gems/rails_sql_views-0.8.0/rails_sql_views.gemspec:72: warning: constant Gem::RubyGemsVersion is deprecated
DEPRECATED: Please use restforce (https://github.com/ejholmes/restforce) instead.
Traceback (most recent call last):
24: from bin/rails:4:in <main>' 23: from bin/rails:4:in
require'
22: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/commands.rb:18:in <top (required)>' 21: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/command.rb:46:in
invoke'
20: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/command/base.rb:65:in perform' 19: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/thor-1.0.1/lib/thor.rb:392:in
dispatch'
18: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/thor-1.0.1/lib/thor/invocation.rb:127:in invoke_command' 17: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/thor-1.0.1/lib/thor/command.rb:27:in
run'
16: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in perform' 15: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in
tap'
14: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:145:in block in perform' 13: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:145:in
require'
12: from /Users/mhingar/rails/enlighten/config/application.rb:15:in <top (required)>' 11: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler.rb:114:in
require'
10: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in require' 9: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in
each'
8: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in block in require' 7: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in
each'
6: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in block (2 levels) in require' 5: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in
require'
4: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/ox-2.13.2/lib/ox.rb:79:in <top (required)>' 3: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in
require'
2: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in load_dependency' 1: from /Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in
block in require'
/Users/mhingar/.rvm/gems/ruby-2.6.5@enlighten_upgrade/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require': cannot load such file -- ox/ox (LoadError)
from ox.
Related Issues (20)
- Sax parser segfault in v2.14.7+ HOT 4
- `StringIO` in `Ox::Builder` HOT 2
- Sax parsing with default encoding set to UTF-8 breaks Ox::Sax#text HOT 2
- OpenSSL::SSL::SSLContext::DEFAULT_CERT_STORE is not shareable across ractors HOT 1
- Issue with gems on M1 that depends on ox HOT 3
- test/tests.rb fails with ruby3.2.0preview3 and onwards HOT 3
- Ruby 3.2 compatibility HOT 2
- Cleaning built artifacts after installation breaks macOS HOT 4
- Incorrect ` Start End Mismatch` exception in sax parser HOT 9
- Ruby 2.7.6 LoadError: cannot load such file -- ox/ox HOT 3
- segfault in 2.14.13 -- free(): invalid pointer Aborted (core dumped) HOT 8
- Verbose output of inspect HOT 4
- Segmentation fault in sax_html since 2.14.13 HOT 12
- 2.14.15 cant be installed on windows HOT 1
- Segfault when parsing deeply nested HTML HOT 5
- `Start End Mismatch: element X not closed` errors in sax_test HOT 2
- Ox.load fails with UTF-8 characters in xml element names HOT 4
- ? in unquoted attribute value causes HTML to not be properly parsed HOT 4
- a new mode like :hash_no_attrs but with included attributes HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ox.