From: andrew mcelroy Date: 2013-06-06T03:45:29+09:00 Subject: Re: How to install money gem? --047d7bf0f4a0f63b3104de6c9910 Content-Type: text/plain; charset=ISO-8859-1 1.9.1 is not a very good version of ruby. It was considered unstable/experimental. If it is possible to upgrade to 1.9.2, please do. However, if that is out of your control. have you checked to see if there is an older money gem that does work with ruby 1.9.1. Last thing, this is not recommended at all, but you could pull down that gem and remove the version conditional. This is probably a terrible idea, but it might work. Andrew McElroy On Wed, Jun 5, 2013 at 1:38 PM, J. V. wrote: > We have a production server running Ruby 1.9.1. It runs and works > (CentOS). > > I am attempting to get Apache/Ruby running on my Ubuntu box. I have > installed Ruby 1.9.1 just as the production server. > > I listed out the gems on the production server and put them into a > script. > > When I run: > gem install money > > I get: > ERROR: Error installing money: > money requires Ruby version >= 1.9.2. > > Because the production server is 1.9.1, I simply want to mirror that for > the moment. > > How did the production server with Ruby 1.9.1 get the money gem in the > first place given the error above? > > How do I install the money gem on my local Ubuntu box running the exact > same version of Ruby 1.9.1. > > $ruby -v > ruby 1.9.1p431 (2011-02-18 revision 30908) [x86_64-linux] > > ?? > > -- > Posted via http://www.ruby-forum.com/. > > --047d7bf0f4a0f63b3104de6c9910 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
1.9.1 is not a very good version of ruby. It was considere= d unstable/experimental.=A0
If it is possible to upgrade to 1.9.2, plea= se do.

However, if that is out of your contr= ol. have you checked to see if there is an older money gem that does work w= ith ruby 1.9.1.

Last thing, this is not=A0recommended=A0at = all, but you could pull down that gem and remove the version conditional.= =A0
This is probably a terrible idea, but it might work.=A0=

Andrew McElroy


On Wed, Jun 5, 2013 at 1:38 PM= , J. V. <lists@ruby-forum.com> wrote:
We have a production server running Ruby 1.9= .1. It runs and works
(CentOS).

I am attempting to get Apache/Ruby running on my Ubuntu box. =A0I =A0have installed Ruby 1.9.1 just as the production server.

I listed out the gems on the production server and put them into a
script.

When I run:
=A0 gem install money

I get:
ERROR: =A0Error installing money:
=A0 money requires Ruby version >=3D 1.9.2.

Because the production server is 1.9.1, I simply want to mirror that for the moment.

How did the production server with Ruby 1.9.1 get the money gem in the
first place given the error above?

How do I install the money gem on my local Ubuntu box running the exact
same version of Ruby 1.9.1.

$ruby -v
ruby 1.9.1p431 (2011-02-18 revision 30908) [x86_64-linux]

??

--
Posted via http://= www.ruby-forum.com/.


--047d7bf0f4a0f63b3104de6c9910--