Hi Rowan,
thank you for testing.
Dne 11. 09. 26 v 13:32 Rowan Puttergill napsal(a):
Hi
I am a volunteer testing F45 feature changes in Beta 1.3.
Following https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_8.1
For F45 Beta 1.3 and I can't get any of the default app deployment examples to work at all. All of them fail with missing dependencies. If I use the last example, which should deploy using Fedora only dependencies
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_8.1#Rails_app_with_Fedo...
So you followed this ^^ steps, right?
, I get:
/usr/share/rubygems/rubygems/resolver.rb:228:in 'Gem::Resolver#search_for': Unable to resolve dependency: 'rdoc (>= 4.0.0)' requires 'rbs (>= 4.0.0)' (Gem::UnsatisfiableDependencyError)
This is strange. Looking at `rdoc` dependencies, I can see that there is dependency on rbs newly introduced by rdoc 8.0:
https://github.com/ruby/rdoc/commit/c5eec14b521b339932565c27979a086128660720
But we still have RDoc 7.0.x AFAICT.
If I check package versions:
Name : rubygem-rbs Epoch : 0 Version : 3.10.0
I tried a gem install
To me it looks that you have got installed new version of RDoc via Bundler/RubyGems directly from rubygems.org. The example is not elaborated enough and if you are not experienced with Ruby ecosystem, I can see how you could easily end up in the situation.
, but I had to install the ruby-devel packages and then the rbs compilation failed. I did a `dnf group install development-tools` and that meant the rbs gem compiled and I had 4.2.0 available.
The default app then deploys.
At least some good news :)
It would be great if we could update the rubgem-rbs package to the latest version in the F45 repos so that the default app deploys without extra devel requirements on the user side.
Ideally, you should not need to undergo anything like this.
In any case, if you can elaborate more about the steps you took and about your system status (but I'll also look independently once I have free cycles), I could help you proceed further and in return, I'd updated the change page to be more welcoming.
Once again, I appreciate your testing!
Vít
If you need me to file this as a bugzilla bug, please let me know.
Thanks
Rowan
Dne 11. 09. 26 v 15:52 Vít Ondruch napsal(a):
Hi Rowan,
thank you for testing.
Dne 11. 09. 26 v 13:32 Rowan Puttergill napsal(a):
Hi
I am a volunteer testing F45 feature changes in Beta 1.3.
Following https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_8.1
For F45 Beta 1.3 and I can't get any of the default app deployment examples to work at all. All of them fail with missing dependencies. If I use the last example, which should deploy using Fedora only dependencies
https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_8.1#Rails_app_with_Fedo...
So you followed this ^^ steps, right?
Just trying this out of curiosity and it worked with one minor issue and that is `bundler-audit`, which is not available on Fedora, therefore I have updated the change page.
However, I am testing in Mock to have clean environment. The easiest way to get (reasonably) clean env for Ruby should be `rm -rf .local/share/gem`, but make sure you don't have any important gem installed on the test system.
Also, I was struggling with the `sudo dnf group install 'Ruby on Rails'`. Not sure why it does not work for me, but `sudo dnf install @rubyonrails` works.
Vít
, I get:
/usr/share/rubygems/rubygems/resolver.rb:228:in 'Gem::Resolver#search_for': Unable to resolve dependency: 'rdoc (>= 4.0.0)' requires 'rbs (>= 4.0.0)' (Gem::UnsatisfiableDependencyError)
This is strange. Looking at `rdoc` dependencies, I can see that there is dependency on rbs newly introduced by rdoc 8.0:
https://github.com/ruby/rdoc/commit/c5eec14b521b339932565c27979a086128660720
But we still have RDoc 7.0.x AFAICT.
If I check package versions:
Name : rubygem-rbs Epoch : 0 Version : 3.10.0
I tried a gem install
To me it looks that you have got installed new version of RDoc via Bundler/RubyGems directly from rubygems.org. The example is not elaborated enough and if you are not experienced with Ruby ecosystem, I can see how you could easily end up in the situation.
, but I had to install the ruby-devel packages and then the rbs compilation failed. I did a `dnf group install development-tools` and that meant the rbs gem compiled and I had 4.2.0 available.
The default app then deploys.
At least some good news :)
It would be great if we could update the rubgem-rbs package to the latest version in the F45 repos so that the default app deploys without extra devel requirements on the user side.
Ideally, you should not need to undergo anything like this.
In any case, if you can elaborate more about the steps you took and about your system status (but I'll also look independently once I have free cycles), I could help you proceed further and in return, I'd updated the change page to be more welcoming.
Once again, I appreciate your testing!
Vít
If you need me to file this as a bugzilla bug, please let me know.
Thanks
Rowan
ruby-sig@lists.fedoraproject.org