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

Add basic installation instructions for Fedora. #27

Merged

Conversation

voxik
Copy link
Contributor

@voxik voxik commented Feb 12, 2020

These are just really basic instructions discussed in sparklemotion/nokogiri#1983. Of course there could probably be recommendations to use gem install nokogiri -- --use-system-libraries as well as gem install nokogiri, but that would be just more confusing IMO.

@flavorjones
Copy link
Member

@voxik Thank you for this work! Will merge and publish now.

@flavorjones flavorjones merged commit 8a9dae5 into sparklemotion:master Feb 13, 2020
@ai
Copy link

ai commented Mar 23, 2020

@voxik @flavorjones how we can use the system installed Nokogiri with bundler?

I still get an error:

bundle install

…
Fetching nokogiri 1.10.9 (was 1.10.7)
Installing nokogiri 1.10.9 (was 1.10.7) with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/home/ai/Dev/autoprefixer-rails/.bundle/ruby/2.7.0/gems/nokogiri-1.10.9/ext/nokogiri
/usr/bin/ruby -I /usr/share/rubygems -r
./siteconf20200323-204764-hjg6v0.rb extconf.rb
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in
`require': cannot load such file -- did_you_mean (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in
`require'
        from <internal:gem_prelude>:2:in `<internal:gem_prelude>'

extconf failed, exit code 1

Gem files will remain installed in
/home/ai/Dev/autoprefixer-rails/.bundle/ruby/2.7.0/gems/nokogiri-1.10.9
for inspection.
Results logged to
/home/ai/Dev/autoprefixer-rails/.bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/nokogiri-1.10.9/gem_make.out

An error occurred while installing nokogiri (1.10.9), and
Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.10.9' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  rails was resolved to 6.0.2.2, which depends on
    actioncable was resolved to 6.0.2.2, which depends on
      actionpack was resolved to 6.0.2.2, which depends on
        actionview was resolved to 6.0.2.2, which depends on
          rails-dom-testing was resolved to 2.0.3, which depends on
            nokogiri

@flavorjones
Copy link
Member

@ai Please open an issue under https://github.com/sparklemotion/nokogiri

@ai
Copy link

ai commented Mar 24, 2020

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

Successfully merging this pull request may close these issues.

None yet

3 participants