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

[Windows] Bundle fastlane cannot load such pty #18447

Closed
4 tasks done
EArminjon opened this issue Mar 24, 2021 · 3 comments
Closed
4 tasks done

[Windows] Bundle fastlane cannot load such pty #18447

EArminjon opened this issue Mar 24, 2021 · 3 comments

Comments

@EArminjon
Copy link

EArminjon commented Mar 24, 2021

New Issue Checklist

Issue Description

Would install fastlane on windows.

Command executed

In an admin Powershell :

choco install ruby -y
choco install msys2
gem install bundler
Create a ./Gemfile (doc)
bundle update
bundle install
Complete output when running fastlane, including the stack trace and command used
$> bundle exec fastlane

C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane_core-0.59.0/lib/fastlane_core/itunes_transporter.rb:1:in `require': cannot load such file -- pty (LoadError)
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane_core-0.59.0/lib/fastlane_core/itunes_transporter.rb:1:in `<top (required)>'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane_core-0.59.0/lib/fastlane_core.rb:17:in `require'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane_core-0.59.0/lib/fastlane_core.rb:17:in `<top (required)>'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane-1.92.0/lib/fastlane.rb:1:in `require'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane-1.92.0/lib/fastlane.rb:1:in `<top (required)>'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane-1.92.0/lib/fastlane/cli_tools_distributor.rb:8:in `require'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane-1.92.0/lib/fastlane/cli_tools_distributor.rb:8:in `take_off'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/fastlane-1.92.0/bin/fastlane:5:in `<top (required)>'
        from C:/tools/ruby30/bin/fastlane:23:in `load'
        from C:/tools/ruby30/bin/fastlane:23:in `<main>'

Environment

Cannot execute bundle exec fastlane env because of the error.
Windows 10 pro, last update 20H2

@fastlane-bot
Copy link

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

@ainame
Copy link
Contributor

ainame commented Mar 24, 2021

Screenshot 2021-03-24 at 21 24 27

https://docs.fastlane.tools/getting-started/android/setup/

Unfortunately, this is a known issue. Your Ruby 3.0 picked up a very old version that wasn't restricted to Ruby version.
We've been working on getting Ruby 3.0 support but it won't be coming that soon. #17931

@ainame
Copy link
Contributor

ainame commented Mar 24, 2021

Feel free to open another issue if you face any other "Windows" specific issue🙂

@ainame ainame closed this as completed Mar 24, 2021
@fastlane fastlane locked and limited conversation to collaborators May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants