Sinatra error: "Gem::LoadError: Unable to activate actionpack-3.2.3, because activesupport-3.2.8 conflicts with activesupport (= 3.2.3) "

StackOverflow https://stackoverflow.com/questions/13887958

문제

I would like to comma delimit large numbers in my Sinatra app, so I did some Googling and found that I can do so by adding the following:

require 'action_view/helpers/number_helper'

Then, it seems I am supposed to be able to do things like:

number_with_delimiter(12345678, :delimiter => ',')

However, I get the following error:

Gem::LoadError: Unable to activate actionpack-3.2.3, because activesupport-3.2.8 conflicts with activesupport (= 3.2.3)

I'm not sure how to fix this.

도움이 되었습니까?

해결책

Use a Gemfile and bundler with your app. There you can explicitly set the versions of each gem. See http://gembundler.com for more information on how to do so.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top