-
Notifications
You must be signed in to change notification settings - Fork 46
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
Task for ejecting a theme doesn't complete all replacements #26
Comments
I didn't notice this last time, will take deeper look |
@pascallaliberte What version of I was getting the Also, there is a Checklist
|
v1.2.4 off a fresh install. Could it somehow be that I'm using |
When I |
I'm not sure about the permissions, but I think because the latest development changes haven't been published yet, so pointing the gems to "local/bullet_train-core/#{gem_name}" should work. If I find something out about permissions I'll post here. |
Hey @pascallaliberte, are you still running into this issue? Just checking in to see if we can close this one. |
@gazayas Quick check and I'm still getting the same output. See full output
I updated the repo to the latest I'll check these bits from the eject script to debug:
Will report back. |
I'm looking at my local version in And indeed, for example, it's missing What about you? When you run |
@pascallaliberte Yeah, I just run it against the latest branches and |
Just wanted to report - probably related - that after ejecting,
=> "light" should be replaced by the ejected theme's name, correct? |
Good catch, you mean |
Yup, it resulted in a couple of folks not getting the welcome mail 🙈 |
I just tested this and it looks like something is still weird. I did:
And then right at the very top, after just a few lines of successful output I see a couple of lines that are complaining, and then a lot more happy lines.
Looks like |
Fixes #26 Since we weren't including this file in the package it was causing problems for people who were running with the released gems. But the file would be available if you'd linked your core repos into the starter repo.
Fixes #26 Since we weren't including this file in the package it was causing problems for people who were running with the released gems. But the file would be available if you'd linked your core repos into the starter repo.
Given the following setup:
bullet_train
rake bullet_train:themes:light:eject[foo]
In the process of ejecting the theme, it looks like the process doesn't go all the way:
There are errors in the output:
e.g. some
No such file or directory
errors like:and
See full output
Replacements aren't completed as a result
_devise.html.erb
and_account.html.erb
module Light
isn't changed inlib/bullet_train/themes/foo.rb
["foo"] + super
isn't added todirectory_order
inlib/bullet_train/themes/foo.rb
application.light
is not replaced withapplication.foo
infoo/layouts/_head.html.erb
tailwind.light
not replaced withtailwind.foo
intailwind.mailer.foo.config.js
application.light
still used inthemes/foo/layouts/_head.html.erb
The text was updated successfully, but these errors were encountered: