Ruby paperclip: says it needs version >= 1.9.2, but I have 1.8.7
来源:互联网 发布:windows双系统 虚拟机 编辑:程序博客网 时间:2024/06/06 01:45
我安装的paperclip的版本是2.7.x, 安装的过程中报一个错误,错误信息如下:
gem install paperclipERROR: Error installing paperclip: paperclip requires Ruby version >= 1.9.2.$ ruby --versionruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
错误的原因是: paperclip中的一个bug。
这个bug已经有人修复了。 接下来我们只要自己使用这个版本的代码制作一个gem包, 应该就没有问题了。
一 制作资源:
1 git 地址: https://github.com/thoughtbot/paperclip.git
2activesupport for 1.8.7
a88bdbb
二 方法:git clone https://github.com/thoughtbot/paperclip.git my_paperclipcd my_paperclipgit reset --hard a88bdbb
三 gem build paperclip.gemspec
四 gem install paperclip-2.7.5.gem --local
完毕
- Ruby paperclip: says it needs version >= 1.9.2, but I have 1.8.7
- The package NAME needs to be reinstalled, but I can’t find an archive for it
- The package needs to be reinstalled, but I can't find an archive for it.
- The package needs to be reinstalled,but I can't find an archive for it
- hbase 问题之 File system needs to be upgraded. You have version null and I want ver
- It Says
- 在ubuntu中E: The package kingsoft-office needs to be reinstalled, but I can't find an archive for it.
- Your Ruby version is 2.2.3, but your Gemfile specified 2.2.2
- What version of Python do I have?
- activesupport requires Ruby version >= 2.2.2
- redis requires Ruby version >= 2.2.2
- redis requires Ruby version >= 2.2.2
- ubuntu package XXX needs to be reinstalled, but I can't find an archive 修复
- So many things I have to do but nothing I can do
- I have a bad habit but I wasn't meant to do
- Spring roo says “Version is required forXXXX”
- 解决pod安装 requires Ruby version >= 2.2.2
- Error installing cocoapods: activesupport requires Ruby version >= 2.2.2
- make与重定向
- mac 10.9 usb安装win7的方法
- C++整型列表
- javascript:评估用户输入的密码的强度
- 10616 - Divisible Group Sums(dp背包)
- Ruby paperclip: says it needs version >= 1.9.2, but I have 1.8.7
- ListView 添加头部和尾部
- 谈谈viewController的加载函数
- 电子政务方向:We7.Cloud政府云门户
- NB人的帖子
- java.lang.ClassNotFoundException:org.apache.ws.commons.schema.resolver.URIResolver
- 函数 - 添加参数
- 那个银行
- android imageview 多点触碰(MultiTouch)实现图片拖拽移动缩放