Hi Pavel,

I tested Rails 5.2 from Pave's copr repository.
Here is the result.

https://fedoraproject.org/wiki/Changes/Ruby_on_Rails_5.2

## To test only Rails itself

> dnf install rubygem-rails
> rails new app
> cd app && rails s

- I needed to install below dependencies in advance.
  mock -r fedora-rawhide-x86_64 -i ruby-devel sqlite-devel nodejs
  Should we note this dependency info somewhere (wiki page) ?
  The information looks useful for users to install Rails.

- I had to install the dependency rdoc manually because of below error.
  rdoc-6.0.4 is successfully installed. But after that the error was showed.
  As a result, "gem install rdoc" was failed.

[mockbuild@e7b88cea13194bc3aba1494b7d9efdef work]$ gem install rdoc
Fetching: rdoc-6.0.4.gem (100%)
Successfully installed rdoc-6.0.4
ERROR:  While executing gem ... (NoMethodError)
    undefined method `reset' for RDoc::TopLevel:Class


## To test the complete feature including generating a new Rails app using RPM

> dnf group install 'Ruby on Rails'
> rails new app --skip-bundle && cd app
> rails s

The above commands in the wiki page to test the complete feature are not enough.
I think we could add a command "bundle install --local" after "cd app"
to the wiki page.

I tried to install the dependency packages in app/Gemfile without
development and test groups.

$ mock -r fedora-rawhide-x86_64 -i rubygem-sqlite3 rubygem-puma
rubygem-sass-rails rubygem-uglifier rubygem-coffee-rails
rubygem-turbolinks rubygem-jbuilder rubygem-bootsnap

=> install rubygem-bootsnap: not found on Fedora.
=> install rubygem-coffee-rails: Old Rails 5.1 is installed as a downgrading.


Right now that's all.

Jun


On Wed, May 2, 2018 at 3:32 PM, Pavel Valena <[email protected]> wrote:
> ----- Original Message -----
>> From: "Jun Aruga" <[email protected]>
>> To: "Ruby SIG mailing list" <[email protected]>
>> Sent: Wednesday, May 2, 2018 9:54:13 AM
>> Subject: Re: New/Updated packages for Rails 5.2.0
>>
>> Hi Pavel,
>>
>> >> >>   - rubygem-marcel
>> >> > Yes, that's a runtime dependency of `activestorage` [0]. Could you help
>> >> > with packaging this package into Fedora?
>> >>
>> >> Yes, I can.
>> > Thanks. Let me know when you have the Review Request prepared; I (or
>> > someone else listening) can do the review.
>>
>> Okay, I will let you know after I prepare rubygem-marcel (and the
>> runtime dependency rubygem-mimemagic).
>
> Thanks.
>
> You can follow the progress in my new ruby-on-rails copr [1].
> Jun, afterwards you can build the package there (I'll grant you ACLs).
>
> [1] https://copr.fedorainfracloud.org/coprs/pvalena/ruby-on-rails/packages/
>
> Pavel
>
>>
>> Jun
>>
>>
>
> </snip>
>
>>
>>
>>
>> --
>> Jun Aruga [email protected]
>> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
>> Czech Republic



-- 
Jun Aruga [email protected]
IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
Czech Republic
_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to