On 05/14/2012 07:34 AM, Bohuslav Kabrda wrote:
Yep, tried to package, no real problems. There were few issues I ran into from the packaging point of view:
- Choosing a proper JavaScript runtime - all the ones provided as gems do lots of bundling, so they are not ideal. Fortunately, there is a "js" package (mozilla spidermonkey), that is already packaged in Fedora and can be used, so we can go with it (maybe we could make it a hard dependency of Rails until we provide some other engines that users can choose from?).
- Another thing we should probably think of are "asset" dependencies (jquery-rails, coffee-rails, sass-rails), that should be added as Rails dependencies, because they are in the default Gemfile of new rails applications.
- Last problem that I ran into is, that bundler by default installs newest versions of all gems when creating a new Rails application. Therefore I applied a patch (attached) to Railties, that prevent this by only searching local gems.
Would you mind putting up some WIP .src.rpms ?
Thanks
Kind Regards,
Emanuel