Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

namespace option triggers errors #78

Open
Rio517 opened this issue Oct 4, 2022 · 1 comment
Open

namespace option triggers errors #78

Rio517 opened this issue Oct 4, 2022 · 1 comment

Comments

@Rio517
Copy link

Rio517 commented Oct 4, 2022

It seems that certain actions don't successfully use passed in namespaces. Getting to this point was basically:

git clone git@github.com:bullet-train-co/bullet_train.git 
bin/configure
bin/setup
bin/super-scaffold crud Job Team title:text_field --namespace=client

The is the log output:

Writing './app/controllers/clients/jobs_controller.rb'.
Fixing Standard Ruby on './app/controllers/clients/jobs_controller.rb'.
Proceeding to generate './app/views/clients/jobs'.
Writing './app/views/clients/jobs/_menu_item.html.erb'.
Writing './app/views/clients/jobs/show.html.erb'.
Writing './app/views/clients/jobs/_index.html.erb'.
Writing './app/views/clients/jobs/edit.html.erb'.
Writing './app/views/clients/jobs/new.html.erb'.
Writing './app/views/clients/jobs/_form.html.erb'.
Writing './app/views/clients/jobs/_breadcrumbs.html.erb'.
Writing './app/views/clients/jobs/index.html.erb'.
Writing './app/views/api/v1/jobs/_job.json.jbuilder'.
Writing './app/views/api/v1/jobs/index.json.jbuilder'.
Writing './app/views/api/v1/jobs/show.json.jbuilder'.
Writing './app/views/api/v1/open_api/jobs/_components.yaml.erb'.
Writing './app/views/api/v1/open_api/jobs/_paths.yaml.erb'.
Couldn't find './app/views/clients/teams/show.html.erb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/controllers/clients/jobs_controller.rb'.
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/views/clients/jobs/_index.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Updating './app/views/clients/jobs/_form.html.erb'.
Updating './app/views/clients/jobs/show.html.erb'.
Updating './app/controllers/clients/jobs_controller.rb'.
Couldn't find './app/controllers/api/v1/jobs_controller.rb'
Creating 'config/routes/clients.rb'.
Updating 'config/routes.rb'.

Hey, models that are scoped directly off of a Team (or nothing) are eligible to be added to the sidebar.
Do you want to add this resource to the sidebar menu? (y/N)
y

OK, great! Let's do this! By default these menu items appear as a gift icon,
but after you hit enter I'll open a page where you can view other icon options.
When you find one you like, hover your mouse over it and then come back here and
enter the name of the icon you want to use.
(Or hit enter when choosing to skip this step.)


Did you find an icon you wanted to use?
Enter the full CSS class here (e.g. 'ti ti-world') or hit enter to just use the gift icon:
ti ti-paint-roller

Replacing in './config/locales/en/jobs.en.yml'.
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - ./config/locales/en/jobs.en.yml

Tasks: TOP => bullet_train:super_scaffolding
(See full trace by running task with --trace)
@gazayas
Copy link
Contributor

gazayas commented Oct 5, 2022

@Rio517 Thanks for the logs, I'll try to look into this one here soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants