0

I have 2 projects that share the same models, so this models are packaged into a gem. I needed to add a new model to this gem so I created the migration and class needed, build the gem and then unpacked it onto the other projects and did

bundle install --local

The gem gets installed with it's new version but the new model file I added is not there. What am I missing?

4

1 回答 1

0

感谢克里斯托夫的评论,我能够找到问题所在。我的 .gemspec 文件正在使用 git-ls 列出将添加到 gem 中的所有文件,并且我在没有将新文件添加到 git 的情况下进行测试。在我添加它们之后它很好。

于 2012-08-23T15:19:55.727 回答