Commit aa2f465
Fix critical Pro gemspec and Gemfile issues
CRITICAL FIXES:
1. **Pro Gemfile path issue**: Updated react_on_rails_pro/Gemfile to
explicitly point to the root-level gemspec with:
`gemspec name: "react_on_rails_pro", path: ".."`
Without this, bundler would look for react_on_rails_pro.gemspec in
react_on_rails_pro/ directory (doesn't exist) when running from
that directory.
2. **Pro rake tasks exclusion bug**: Replaced dangerous reject pattern
that excluded ALL lib/tasks/ files with explicit whitelist.
The old pattern `%r{^(lib/tasks)/}` excluded CRITICAL Pro rake tasks:
- lib/tasks/assets_pro.rake (Pro asset bundling)
- lib/tasks/v8_log_processor.rake (Pro V8 logging)
New approach uses Dir.glob to explicitly include:
- lib/react_on_rails_pro.rb
- lib/react_on_rails_pro/**/*
- lib/tasks/assets_pro.rake
- lib/tasks/v8_log_processor.rake
- CHANGELOG_PRO.md, LICENSE, README.md, gemspec
## Verification
Tested with `gem build react_on_rails_pro.gemspec` and verified:
✅ Both Pro rake tasks are included
✅ All Pro lib files are included
✅ No MIT files are included (lib/react_on_rails/, MIT rake tasks)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 744ed7b commit aa2f465
2 files changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
0 commit comments