开发者

heroku and vendor/plugins: does that work?

I have a RoR app 2.3.8 based on refinerycms.

I had to add search functionality. For search, there is a gem for refinerycms, which is unfortunately for rails3.

In order to use that, I had to

git clone the plugin git checkout the specific version

The plugin is in vendor/plugins. then I test everything locally, the search runs fine! If I push to heroku (git push heroku master), the search does not work.

Everything is committed, heroku server has开发者_如何学JAVA been restarted. Logs show no error.

  • Is there any problem if that plugin is in vendor/plugins for heroku?
  • Do I somehow need to activate the plugin?
  • Is the git checkout to the older version in the plugin a problem? I have a .git folder there, which version will be pushed to heroku?
  • What else could be wrong?

Thank you for any help


Somehow the git process broke this. I had a .git subfolder in my plugin. I pushed to heroku and it didn't work.

So I checked out from heroku again to see what was there - the vendor/plugins folder was empty! I guess the .git subfolder was the main problem.

I started over, deleted the vendor folder and did it all again.

Now it works.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜