RailsApps / rails-composer

Rails Composer. The Rails generator on steroids for starter apps.
http://www.railscomposer.com/
3.38k stars 486 forks source link

"File unchanged! The supplied flag value not found!" error on creation of starter app #284

Open noleftsignal opened 4 years ago

noleftsignal commented 4 years ago

Upon completion of the steps in composing a starter app today (as I've done many times), I discovered that it did not update any of the files and basically just created a new rails app without any of the composer juice that normally happens when using this excellent app. I have not had this trouble in the past and just started today. So what has changed you ask? Nothing that I can think of...I did update to Mac OS Catalina, but have composed apps with the same process between then and now without issue, so I feel like it's not that. I did recently update Xcode through app store so that is a potential cause. But I have agreed to the new terms etc etc. I also allowed full disk access to terminal and Xcode in the privacy settings list in the system preferences. I am using RVM and have updated it. Any help to point me in the right direction would be greatly appreciated! Would love to get back into my workflow as soon as possible.

Here is some output of the first bit of the composition: $ rails new . -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb exist create README.md create Rakefile conflict .ruby-version Overwrite /Users/aaron/code/rails/mapletest/.ruby-version? (enter "h" for help) [Ynaqdhm] n skip .ruby-version create config.ru create .gitignore create Gemfile run git init from "." Initialized empty Git repository in /Users/aaron/code/rails/mapletest/.git/ create package.json create app create app/assets/config/manifest.js create app/assets/javascripts/application.js create app/assets/javascripts/cable.js create app/assets/stylesheets/application.css create app/channels/application_cable/channel.rb create app/channels/application_cable/connection.rb create app/controllers/application_controller.rb create app/helpers/application_helper.rb create app/jobs/application_job.rb create app/mailers/application_mailer.rb create app/models/application_record.rb create app/views/layouts/application.html.erb create app/views/layouts/mailer.html.erb create app/views/layouts/mailer.text.erb create app/assets/images/.keep create app/assets/javascripts/channels create app/assets/javascripts/channels/.keep create app/controllers/concerns/.keep create app/models/concerns/.keep create bin create bin/bundle create bin/rails create bin/rake create bin/setup create bin/update create bin/yarn create config create config/routes.rb create config/application.rb create config/environment.rb create config/cable.yml create config/puma.rb create config/spring.rb create config/storage.yml create config/environments create config/environments/development.rb create config/environments/production.rb create config/environments/test.rb create config/initializers create config/initializers/application_controller_renderer.rb create config/initializers/assets.rb create config/initializers/backtrace_silencers.rb create config/initializers/content_security_policy.rb create config/initializers/cookies_serializer.rb create config/initializers/cors.rb create config/initializers/filter_parameter_logging.rb create config/initializers/inflections.rb create config/initializers/mime_types.rb create config/initializers/new_framework_defaults_5_2.rb create config/initializers/wrap_parameters.rb create config/locales create config/locales/en.yml create config/master.key append .gitignore create config/boot.rb create config/database.yml create db create db/seeds.rb create lib create lib/tasks create lib/tasks/.keep create lib/assets create lib/assets/.keep create log create log/.keep create public create public/404.html create public/422.html create public/500.html create public/apple-touch-icon-precomposed.png create public/apple-touch-icon.png create public/favicon.ico create public/robots.txt create tmp create tmp/.keep create tmp/cache create tmp/cache/assets create vendor create vendor/.keep create test/fixtures create test/fixtures/.keep create test/fixtures/files create test/fixtures/files/.keep create test/controllers create test/controllers/.keep create test/mailers create test/mailers/.keep create test/models create test/models/.keep create test/helpers create test/helpers/.keep create test/integration create test/integration/.keep create test/test_helper.rb create test/system create test/system/.keep create test/application_system_test_case.rb create storage create storage/.keep create tmp/storage create tmp/storage/.keep remove config/initializers/cors.rb remove config/initializers/new_framework_defaults_5_2.rb apply https://raw.github.com/RailsApps/rails-composer/master/composer.rb composer composer _____ _ _ composer | __ \ (_) | /\ composer | |__) |__ _ _| |___ / \ _ __ _ __ ___ composer | _ // _ | | / | / /\ \ | ' | ' \/ | composer | | \ \ (| | | _ \/ | |) | |) _ \ composer || _\,||_|__// _\ ./| .__/|___/ composer | | | | composer | | | | composer
composer Need help? Ask on Stack Overflow with the tag 'railsapps.' composer Your new application will contain diagnostics in its README file. composer You are using Rails version 5.2.3. Please report any issues. File unchanged! The supplied flag value not found! config/application.rb recipe Running core recipe... core selected all core recipes recipe Running git recipe... git initialize git remove .gitignore create .gitignore run git init from "." Reinitialized existing Git repository in /Users/aaron/code/rails/mapletest/.git/ run git add -A from "." run git commit -qm "rails_apps_composer: initial commit" from "." recipe Running railsapps recipe... option Build a starter application? 1) Build a RailsApps example application 2) Contributed applications 3) Custom application (experimental) choose Enter your selection: `

Composer will allow you to continue through the setup but at one other occasion it throws the same error and does not run any migrations, or add any devise files or migrations to the db folder. Actually it appears to be an even less comprehensive folder structure than just running rails new.

ckrampanis commented 4 years ago

I have the same problem.. any solution ?

noleftsignal commented 4 years ago

I could not find a solution...but I did think later it might be related to rvm somehow. In the meantime I wrote documentation to which I could refer each time I need to bootstrap a new rails app without composer...and I added a few things like basic messaging and smarter error handling...if you like it can send you the file. On Jul 18, 2020 6:52 PM, ckrampanis notifications@github.com wrote: I have the same problem.. any solution ?

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.