首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在rails 4.2中可以使用shrine 3.0吗?这样我们就可以立即更换回形针

在rails 4.2中可以使用shrine 3.0吗?这样我们就可以立即更换回形针
EN

Stack Overflow用户
提问于 2019-12-31 18:31:21
回答 1查看 48关注 0票数 1

在过去的10年里,我们的网站已经成功运行了。这是一个基于rails的应用程序。在此过程中,我们将rails升级到4.2版本。进一步升级到rails 5将需要付出努力。

主要的问题是我们使用的回形针已经到了生命的尽头。我们希望至少使用shrine 3.0并替换回形针。我已经看到了机架2.0的依赖性,我们使用的机架少于2.0。我的主要问题是,您的工具包shrine 3.0是否支持在rails 4.2上工作。我们还有shrine lambda插件,它支持2.6版本。这是使用旧版本和后台接地插件。

代码语言:javascript
复制
Our use case 
    - Use shrine > = 3.0
    - Use direct multipart s3 upload
    - Some plugin to use the lambda on aws

我们的进展

代码语言:javascript
复制
  - We have tweaked your demo app (with uppy direct multipart upload) in rails 6.0 to work in rails 5.0
  - We have created a thumbnail creator in node.js in 8 runtime.
  - We have hosted this lambda function in aws this responds to bucket events. This is probably a crude method as it just catches bucket event and creates thumbnail.
    There is no connection with the upload app. Initially intended to use the shrine lambda plugin but this plugin (https://github.com/texpert/shrine-lambda) is for older version of shrine. If this plugin could be upgraded to wok with shrine 3.0 then this would be great.
    work with the shrine 3.0 

我们的主要问题--是否可以在rails 4.2中使用shrine 3.0?因此我们可以立即替换回形针-使用AWS lambda函数的uppy多部分直接上传的组合。好处是-从服务器卸载图像上传。-将创建缩略图的工作卸载到AWS。

EN

回答 1

Stack Overflow用户

发布于 2020-04-22 01:02:47

我在Rails 4.2.11.1应用程序中使用Shrine 3.2.1,机架为1.6.13。似乎工作得很好。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59542879

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档