Hello, I decided to do some more testing, and found out that gem install doesn't work:
``` # Rawhide, all updated $ sudo dnf install ruby Last metadata expiration check: 0:06:58 ago on Wed 20 Sep 2023 05:31:53 PM UTC. Dependencies resolved. ============================================================================================ Package Arch Version Repository Size ============================================================================================ Installing: ruby x86_64 3.3.0~20230905git7c8932365f-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 42 k Installing dependencies: ruby-default-gems noarch 3.3.0~20230905git7c8932365f-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 32 k ruby-libs x86_64 3.3.0~20230905git7c8932365f-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 3.8 M rubygem-io-console x86_64 0.6.0-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 25 k rubygem-json x86_64 2.6.3-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 53 k rubygem-psych x86_64 5.1.0-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 51 k rubypick noarch 1.1.1-19.fc39 rawhide 9.9 k Installing weak dependencies: rubygem-bigdecimal x86_64 3.1.4-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 69 k rubygem-bundler noarch 2.5.0.dev-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 382 k rubygem-rdoc noarch 6.5.0-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 464 k rubygems noarch 3.5.0.dev-182.fc40 copr:copr.fedorainfracloud.org:pvalena:ruby-testing 260 k Transaction Summary ============================================================================================ Install 11 Packages Total download size: 5.2 M Installed size: 18 M Is this ok [y/N]: y Downloading Packages: (1/11): ruby-3.3.0~20230905git7c8932365f-182.fc40.x86_64.rp 269 kB/s | 42 kB 00:00 (2/11): ruby-default-gems-3.3.0~20230905git7c8932365f-182.f 195 kB/s | 32 kB 00:00 (3/11): rubygem-bigdecimal-3.1.4-182.fc40.x86_64.rpm 1.2 MB/s | 69 kB 00:00 (4/11): rubygem-bundler-2.5.0.dev-182.fc40.noarch.rpm 2.9 MB/s | 382 kB 00:00 (5/11): rubygem-io-console-0.6.0-182.fc40.x86_64.rpm 296 kB/s | 25 kB 00:00 (6/11): ruby-libs-3.3.0~20230905git7c8932365f-182.fc40.x86_ 12 MB/s | 3.8 MB 00:00 (7/11): rubygem-json-2.6.3-182.fc40.x86_64.rpm 1.3 MB/s | 53 kB 00:00 (8/11): rubygem-psych-5.1.0-182.fc40.x86_64.rpm 1.2 MB/s | 51 kB 00:00 (9/11): rubygem-rdoc-6.5.0-182.fc40.noarch.rpm 6.6 MB/s | 464 kB 00:00 (10/11): rubygems-3.5.0.dev-182.fc40.noarch.rpm 3.3 MB/s | 260 kB 00:00 (11/11): rubypick-1.1.1-19.fc39.noarch.rpm 85 kB/s | 9.9 kB 00:00 -------------------------------------------------------------------------------------------- Total 8.9 MB/s | 5.2 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : ruby-libs-3.3.0~20230905git7c8932365f-182.fc40.x86_64 1/11 Installing : rubygem-bigdecimal-3.1.4-182.fc40.x86_64 2/11 Installing : ruby-default-gems-3.3.0~20230905git7c8932365f-182.fc40.noarch 3/11 Installing : rubygem-bundler-2.5.0.dev-182.fc40.noarch 4/11 Installing : rubygem-io-console-0.6.0-182.fc40.x86_64 5/11 Installing : rubygem-json-2.6.3-182.fc40.x86_64 6/11 Installing : rubygem-psych-5.1.0-182.fc40.x86_64 7/11 Installing : rubygem-rdoc-6.5.0-182.fc40.noarch 8/11 Installing : rubygems-3.5.0.dev-182.fc40.noarch 9/11 Installing : rubypick-1.1.1-19.fc39.noarch 10/11 Installing : ruby-3.3.0~20230905git7c8932365f-182.fc40.x86_64 11/11 Running scriptlet: ruby-3.3.0~20230905git7c8932365f-182.fc40.x86_64 11/11 Verifying : ruby-3.3.0~20230905git7c8932365f-182.fc40.x86_64 1/11 Verifying : ruby-default-gems-3.3.0~20230905git7c8932365f-182.fc40.noarch 2/11 Verifying : ruby-libs-3.3.0~20230905git7c8932365f-182.fc40.x86_64 3/11 Verifying : rubygem-bigdecimal-3.1.4-182.fc40.x86_64 4/11 Verifying : rubygem-bundler-2.5.0.dev-182.fc40.noarch 5/11 Verifying : rubygem-io-console-0.6.0-182.fc40.x86_64 6/11 Verifying : rubygem-json-2.6.3-182.fc40.x86_64 7/11 Verifying : rubygem-psych-5.1.0-182.fc40.x86_64 8/11 Verifying : rubygem-rdoc-6.5.0-182.fc40.noarch 9/11 Verifying : rubygems-3.5.0.dev-182.fc40.noarch 10/11 Verifying : rubypick-1.1.1-19.fc39.noarch 11/11 Installed: ruby-3.3.0~20230905git7c8932365f-182.fc40.x86_64 ruby-default-gems-3.3.0~20230905git7c8932365f-182.fc40.noarch ruby-libs-3.3.0~20230905git7c8932365f-182.fc40.x86_64 rubygem-bigdecimal-3.1.4-182.fc40.x86_64 rubygem-bundler-2.5.0.dev-182.fc40.noarch rubygem-io-console-0.6.0-182.fc40.x86_64 rubygem-json-2.6.3-182.fc40.x86_64 rubygem-psych-5.1.0-182.fc40.x86_64 rubygem-rdoc-6.5.0-182.fc40.noarch rubygems-3.5.0.dev-182.fc40.noarch rubypick-1.1.1-19.fc39.noarch Complete! $ gem install rails <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:128:in `require': libruby.so.3.2: cannot open shared object file: No such file or directory - /usr/lib64/gems/ruby/stringio-3.0.8/stringio.so (LoadError) from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:128:in `require' from /usr/share/rubygems/rubygems/remote_fetcher.rb:78:in `initialize' from /usr/share/rubygems/rubygems/remote_fetcher.rb:56:in `new' from /usr/share/rubygems/rubygems/remote_fetcher.rb:56:in `fetcher' from /usr/share/rubygems/rubygems/spec_fetcher.rb:77:in `initialize' from /usr/share/rubygems/rubygems/spec_fetcher.rb:43:in `new' from /usr/share/rubygems/rubygems/spec_fetcher.rb:43:in `fetcher' from /usr/share/rubygems/rubygems/resolver/installer_set.rb:43:in `initialize' from /usr/share/rubygems/rubygems/dependency_installer.rb:285:in `new' from /usr/share/rubygems/rubygems/dependency_installer.rb:285:in `resolve_dependencies' from /usr/share/rubygems/rubygems/commands/install_command.rb:206:in `install_gem' from /usr/share/rubygems/rubygems/commands/install_command.rb:231:in `block in install_gems' from /usr/share/rubygems/rubygems/commands/install_command.rb:224:in `each' from /usr/share/rubygems/rubygems/commands/install_command.rb:224:in `install_gems' from /usr/share/rubygems/rubygems/commands/install_command.rb:170:in `execute' from /usr/share/rubygems/rubygems/command.rb:326:in `invoke_with_build_args' from /usr/share/rubygems/rubygems/command_manager.rb:253:in `invoke_command' from /usr/share/rubygems/rubygems/command_manager.rb:193:in `process_args' from /usr/share/rubygems/rubygems/command_manager.rb:151:in `run' from /usr/share/rubygems/rubygems/gem_runner.rb:56:in `run' from /usr/bin/gem:12:in `<main>' ``` I didn't try with your latest version. Regards, Pavel On Mon, Sep 18, 2023 at 6:24 PM Vít Ondruch <vondr...@redhat.com> wrote: > Hi, > > Ruby 3.3 Preview 2 was released last week and here I am with the updated > version. You can find the changes in my PR: > > https://src.fedoraproject.org/rpms/ruby/pull-request/159 > > and here is the associated scratch build: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=106353657 > > I have not noticed anything particularly interesting in that release. > However, I have fixed and improved the macros I was talking about. For > clarity (and probably backport), I have extracted them into separate > commit: > > > https://src.fedoraproject.org/fork/vondruch/rpms/ruby/c/d500de24cdcb4d848ab3df29d76f711104b3683e > > This commit introduces `%{gem_name_version}` macro, which by default > does `%{gem_name}-%{version}%{?prerelease}`. Or if called with custom > gem name, such as `%gem_name_version foo`, the action is > `%{1}-%{expand:%{%{1}_version}}%{?prerelease}`. This assumes that there > is `%{foo_version}` defined for correct output. > > This macro is later reused in all `%gem_` macros, which now also accept > custom gem name. > > There is also additional `-d` option for `%gem_spec` macro, which refers > to the .gemspec of default gems. > > As always, feedback is appreciated via all common channels. > > > Vít > > _______________________________________________ > ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org > To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue >
_______________________________________________ ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue