Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nokogiri setup problem in Ubuntu 20.04 #23

Open
marksvc opened this issue Dec 20, 2022 · 0 comments
Open

nokogiri setup problem in Ubuntu 20.04 #23

marksvc opened this issue Dec 20, 2022 · 0 comments

Comments

@marksvc
Copy link

marksvc commented Dec 20, 2022

In Ubuntu 20.04, I have problems in setup:

$ bundle install
[ doing things successfully, until ]
Fetching nokogiri 1.8.2                                                                                                                                                                 
/var/lib/gems/3.0.0/gems/bundler-1.16.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.                                      
ArgumentError: wrong number of arguments (given 2, expected 1)                                                                                                                          
An error occurred while installing nokogiri (1.8.2), and Bundler cannot continue.                                                                                                       
Make sure that `gem install nokogiri -v '1.8.2' --source 'http://rubygems.org/'` succeeds before bundling.                                                                              
                                                                                                                                                                                        
In Gemfile:                                                                                                                                                                             
  nokogiri-pretty was resolved to 0.1.0, which depends on                                                                                                                               
    nokogiri          
$ sudo gem install nokogiri -v '1.8.2' --source 'http://rubygems.org/'                                                                                                                  
Building native extensions. This could take a while...                                                                                                                                  
ERROR:  Error installing nokogiri:                                                                                                                                                      
        ERROR: Failed to build gem native extension.                                                                                                                                    
                                                                                                                                                                                        
[A bunch of compilation errors]
make: *** [Makefile:245: xml_document.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/3.0.0/gems/nokogiri-1.8.2 for inspection.
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/nokogiri-1.8.2/gem_make.out

Is there something new that needs to be done to set up in Ubuntu 20.04?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant