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

How can I use it on windows? #26

Closed
liangWenPeng opened this issue Apr 17, 2016 · 10 comments
Closed

How can I use it on windows? #26

liangWenPeng opened this issue Apr 17, 2016 · 10 comments

Comments

@liangWenPeng
Copy link

No description provided.

@cesarferreira
Copy link
Owner

Just install ruby for windows http://rubyinstaller.org/
and then gem install dryrun

@FantasyCheese
Copy link

I've install ruby for windows but encounter permission denied problem like #12 , is there any fix for it?

@AhmedvHashem
Copy link

same here

@luispereira
Copy link
Collaborator

luispereira commented Mar 15, 2017

hi @AhmedHashemNTS can you provide the logs so I can take a look?
This was fixed a long time ago, as the temporary folder on windows required permissions to run from there.

@AhmedvHashem
Copy link

gem install dryrun
gives me this

ERROR: Loading command: install (ArgumentError)
unknown encoding name - CP720
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass

my gem version is 2.5.2 and ANDROID_HOME is set

@luispereira
Copy link
Collaborator

Hi, unknown encoding is related with character encoding, maybe you are suffering from this type of issue?
http://stackoverflow.com/a/22861206

@AhmedvHashem
Copy link

Thanks that fixed it

@homayoonahmadi
Copy link

homayoonahmadi commented Feb 2, 2019

If you got permission denied problem while installing RubyInstaller, just run it as administrator.

@knowamit
Copy link


C:\Ruby26-x64>gem install dryrun
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing dryrun:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ruby-ll-2.1.2/ext/
c
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0 -r ./siteco
nf20190221-9708-13lrri6.rb extconf.rb
creating Makefile

current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ruby-ll-2.1.2/ext/c
make "DESTDIR=" clean
current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ruby-ll-2.1.2/ext/c
make "DESTDIR="
make failedNo such file or directory - make "DESTDIR="

Gem files will remain installed in C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ruby-l
l-2.1.2 for inspection.
Results logged to C:/Ruby26-x64/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0
/ruby-ll-2.1.2/gem_make.out`

@qllwx
Copy link

qllwx commented Nov 14, 2020

Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing nio4r:
ERROR: Failed to build gem native extension.

current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nio4r-2.5.4/ext/nio4r

C:/Ruby27-x64/bin/ruby.exe -I C:/Ruby27-x64/lib/ruby/2.7.0 -r ./siteconf20201114-21136-j5a31d.rb extconf.rb

current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nio4r-2.5.4/ext/nio4r
make "DESTDIR=" clean
current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nio4r-2.5.4/ext/nio4r
make "DESTDIR="
make failedNo such file or directory - make "DESTDIR="

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

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

8 participants