![Activesupport gem 抱怨说它需要 ruby 1.9.3,但它已经安装好了](https://linux22.com/image/803063/Activesupport%20gem%20%E6%8A%B1%E6%80%A8%E8%AF%B4%E5%AE%83%E9%9C%80%E8%A6%81%20ruby%E2%80%8B%E2%80%8B%201.9.3%EF%BC%8C%E4%BD%86%E5%AE%83%E5%B7%B2%E7%BB%8F%E5%AE%89%E8%A3%85%E5%A5%BD%E4%BA%86.png)
我在 Ubuntu 12.04.2 LTS 中安装 paperclip gem 时遇到了问题。
Activesupport 抱怨说它需要它ruby 1.9.3
但我已经安装了。
root@Ubuntu-1204-precise-32-minimal /home/.../releases/current # gem install paperclip -v '3.3.1'
ERROR: Error installing paperclip:
activesupport requires Ruby version >= 1.9.3.
root@Ubuntu-1204-precise-32-minimal /home/.../releases/current # ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
答案1
ruby -S gem install paperclip -v '3.3.1'