engine_cart
engine_cart copied to clipboard
Rake tasks to generate test applications for Rails Engines
Despite this code: https://github.com/cbeer/engine_cart/blob/9bdcb81be41cedbbe210c04f458a7792ac49e625/lib/engine_cart/tasks/engine_cart.rake#L80-L87 We still seem to have this problem: ``` Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/sqlite3-1.7.0/ext/sqlite3 /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/ruby -I /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/2.7.0 -r ./siteconf20240118-2773-1o6hqk8.rb extconf.rb Building...
See https://endoflife.date/rails Ruby 5.2 does not work with Ruby 3 (see https://github.com/rails/rails/issues/40938)
See https://github.com/projectblacklight/blacklight/pull/3114/commits/bab9e3a8b25a915043c3a540a9b717fc73a6fcef
Engine cart seems to put something in `./lib/generators/test_app_generator.rb` _in the generated app_? I am not sure why the _generated app_ needs to have a generator file placed in it, is...
@jrochkind discovered (while toiling through the solution for https://github.com/samvera/browse-everything/pull/398) that there were some possible issues when attempting to use `engine_cart` to generate a Rails 6.1 application including the `mail` Gem...
It seems like it can't find the rails tasks for the gem it just installed: ``` Using rails 7.0.0.rc1 Using importmap-rails 0.9.3 Using stimulus-rails 0.7.3 Using turbo-rails 7.1.1 Bundle complete!...
Using bundler 2.1.4 > [DEPRECATED] `Bundler.clean_system` has been deprecated in favor of `Bundler.unbundled_system`. If you instead want to run the command in the environment before bundler was originally loaded, use...
I apologize if this is not the proper approach to addressing this problem, please close this if it is not fit to be merged. I was attempting to pass `--skip-javascript`...
Prior to this commit, I had an `.engine_cart.yml` file with the following YAML/ERB: ```yaml