在rails项目之间共享代码 [英] Share code between rails projects

查看:136

是的,符号链接是一个好方法,我可能也会这样做。


Possible Duplicate:
Can you share a file and it's history between two git repositories?

I have multiple rails projects (in one git), which have some common CSSs, layouts and helpers. My first solution to share those files between the projects was to set up some symlinks, but I'm not totally convinced this is the way to go. Is there some nicer solution, or are symlinks maybe fine after all?

解决方案

Yes, symlinks is a good way to go, i would probably do that as well.

这篇关于在rails项目之间共享代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆