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 windows ruby 3.2 #106

Open
dsisnero opened this issue Apr 6, 2023 · 4 comments
Open

Error installing windows ruby 3.2 #106

dsisnero opened this issue Apr 6, 2023 · 4 comments

Comments

@dsisnero
Copy link

dsisnero commented Apr 6, 2023

F:\windows\scoop\apps\alacritty\current>gem install microsoft_graph

Fetching microsoft_graph-0.21.0.gem
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ rb_sysopen - f:/windows/tools/ruby/Ruby3.2/lib/ruby/gems/3.2.0/ge
ms/microsoft_graph-0.21.0/lib/communications/call_records/call_records_get_direct_routing_calls_w
ith_from_date_time_with_to_date_time/call_records_get_direct_routing_calls_with_from_date_time_wi
th_to_date_time.rb
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:448:in `initia
lize'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:448:in `open'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:448:in `block
(2 levels) in extract_tar_gz'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package/tar_reader.rb:60:
in `each'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:415:in `block
in extract_tar_gz'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:541:in `block
in open_tar_gz'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:538:in `wrap'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:538:in `open_t
ar_gz'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:414:in `extrac
t_tar_gz'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:392:in `block
(2 levels) in extract_files'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package/tar_reader.rb:60:
in `each'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:389:in `block
in extract_files'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package/file_source.rb:29
:in `open'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package/file_source.rb:29
:in `with_read_io'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/package.rb:386:in `extrac
t_files'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in `extr
act_files'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:324:in `install'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/resolver/specification.rb:104:in `install'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/request_set.rb:194:in `block in install'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/request_set.rb:182:in `each'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/request_set.rb:182:in `install'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/commands/install_command.rb:214:in `install_gem'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/commands/install_command.rb:230:in `block in install_gems'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/commands/install_command.rb:223:in `each'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/commands/install_command.rb:223:in `install_gems'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/commands/install_command.rb:169:in `execute'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/command.rb:327:in `invoke_with_build_args'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/command_manager.rb:192:in `process_args'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/command_manager.rb:150:in `run'
        f:/windows/tools/ruby/Ruby3.2/lib/ruby/site_ruby/3.2.0/rubygems/gem_runner.rb:51:in `run'        F:/windows/tools/ruby/Ruby3.2/bin/gem:10:in `<main>'

F:\windows\scoop\apps\alacritty\current>

gem env

@ghost ghost added the ToTriage label Apr 6, 2023
@baywet baywet self-assigned this Apr 10, 2023
@ghost ghost removed the ToTriage label Apr 10, 2023
@baywet
Copy link
Member

baywet commented Apr 10, 2023

Hi,
Thanks for your interest in the Ruby SDK and for reaching out.
What formatting is this F volume using?
Have you enabled long path support in windows?

@dsisnero
Copy link
Author

NTFS
It is enabled now
same error

@baywet
Copy link
Member

baywet commented Apr 10, 2023

Thanks for the precisions. Just for sanity, have you rebooted since enabling long path?
Also please remove f:/windows/tools/ruby/Ruby3.2/lib/ruby/gems/3.2.0/ge
ms/microsoft_graph-0.21.0 and run bundle install again.

@dsisnero
Copy link
Author

rebooted - deleted directory and got same error

@baywet baywet removed their assignment Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants