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

error installing on Windows #3800

Open
TheYkk opened this issue Oct 26, 2018 · 6 comments
Open

error installing on Windows #3800

TheYkk opened this issue Oct 26, 2018 · 6 comments
Labels
help wanted requires help by anyone willing to contribute installation

Comments

@TheYkk
Copy link

TheYkk commented Oct 26, 2018

bundle install --without production mysql
Fetching gem metadata from https://rubygems.org/......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies........
Fetching rake 12.3.1
Installing rake 12.3.1
Fetching concurrent-ruby 1.0.5
Installing concurrent-ruby 1.0.5
Fetching i18n 1.1.1
Installing i18n 1.1.1
Fetching minitest 5.11.3
Installing minitest 5.11.3
Using thread_safe 0.3.6
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching activesupport 5.2.0
Installing activesupport 5.2.0
Fetching builder 3.2.3
Installing builder 3.2.3
Fetching erubi 1.7.1
Installing erubi 1.7.1
Using mini_portile2 2.3.0
Fetching nokogiri 1.8.5 (x64-mingw32)
Installing nokogiri 1.8.5 (x64-mingw32)
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching crass 1.0.4
Installing crass 1.0.4
Fetching loofah 2.2.2
Installing loofah 2.2.2
Fetching rails-html-sanitizer 1.0.4
Installing rails-html-sanitizer 1.0.4
Fetching actionview 5.2.0
Installing actionview 5.2.0
Fetching rack 2.0.5
Installing rack 2.0.5
Fetching rack-test 1.0.0
Installing rack-test 1.0.0
Fetching actionpack 5.2.0
Installing actionpack 5.2.0
Fetching nio4r 2.3.1
Installing nio4r 2.3.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1/ext/nio4r
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20181026-5880-9hv73i.rb extconf.rb

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1/ext/nio4r
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1/ext/nio4r
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.

make failed, exit code 1

Gem files will remain installed in
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1 for inspection.
Results logged to
C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/nio4r-2.3.1/gem_make.out

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

In Gemfile:
geokit-rails was resolved to 2.3.1, which depends on
rails was resolved to 5.2.0, which depends on
actioncable was resolved to 5.2.0, which depends on
nio4r

@welcome
Copy link

welcome bot commented Oct 26, 2018

Thanks for opening your first issue! This space is protected by our Code of Conduct - and we're here to help.
Please follow the issue template to help us help you 👍🎉😄
If you have screenshots or a gif to share demonstrating the issue, that's really helpful! 📸

@grvsachdeva
Copy link
Member

grvsachdeva commented Oct 31, 2018

Hi @TheYkk, sorry for responding late.

As error shows -
Make sure that gem install nio4r -v '2.3.1' --source 'https://rubygems.org/' succeeds before bundling.

Have you tried this gem install nio4r -v '2.3.1' --source 'https://rubygems.org/' command?

@grvsachdeva grvsachdeva added help wanted requires help by anyone willing to contribute installation labels Oct 31, 2018
@TheYkk
Copy link
Author

TheYkk commented Oct 31, 2018

$ gem install nio4r -v '2.3.1' --source 'https://rubygems.org/'
ERROR:  Error installing nio4r:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1/ext/nio4r
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20181031-4708-1bd15qq.rb extconf.rb

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1/ext/nio4r
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1/ext/nio4r
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.

make failed, exit code 1

Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/nio4r-2.3.1 for inspection.
Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/nio4r-2.3.1/gem_make.out
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...


@grvsachdeva
Copy link
Member

Are you using windows?

@TheYkk
Copy link
Author

TheYkk commented Oct 31, 2018

yes

@grvsachdeva
Copy link
Member

Ok, you can try this link - https://gorails.com/setup/windows/10 for setting up Rails on your system.

@jywarren jywarren changed the title Install Error Installing on Windows Oct 31, 2018
@jywarren jywarren changed the title Installing on Windows error installing on Windows Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted requires help by anyone willing to contribute installation
Projects
None yet
Development

No branches or pull requests

2 participants