mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Action Text: bundle package.json in built gem.
After 866da19fd9
we now use package.json
to install Action Text's JS dependencies (see JS_PACKAGE_PATH).
But when the gem pacakge for Action Text is built, package.json was not
included so running `rails action_text:install` in a Rails app would
fail with:
```
rails action_text:install
rails aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - xxx/gems/actiontext-6.0.0.alpha/lib/templates/../../package.json
./bin/rails:4:in `<main>'
Tasks: TOP => app:template
(See full trace by running task with --trace)
```
This commit is contained in:
parent
3219e4aef1
commit
9aa0815192
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|||
s.email = ["javan@javan.us", "sstephenson@gmail.com", "david@loudthinking.com"]
|
||||
s.homepage = "https://rubyonrails.org"
|
||||
|
||||
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*", "app/**/*", "config/**/*", "db/**/*"]
|
||||
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*", "app/**/*", "config/**/*", "db/**/*", "package.json"]
|
||||
s.require_path = "lib"
|
||||
|
||||
s.metadata = {
|
||||
|
|
Loading…
Reference in a new issue