[jruby-user] Trouble with gems installation in JRuby with RVM

9 views
Skip to first unread message

Milos Dolobac

unread,
May 17, 2014, 2:57:30 AM5/17/14
to us...@jruby.codehaus.org
I'm using Linux Mint.

I've already installed JRuby by RVM. When I check version of JRuby it
gives me correct message:

jruby 1.7.11 (1.9.3p392) 2014-02-24 86339bb on Java HotSpot(TM) Server
VM 1.8.0_05-b13 +indy [linux-i386]

But when I try to install some gems, for example:

gem install bundler

It gives me this message:

ERROR: While executing gem ... (SocketError)
recv: name or service not known

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

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Karol Bucek

unread,
May 17, 2014, 8:49:01 AM5/17/14
to us...@jruby.codehaus.org
please provide more information (on stack-overflow) such as `which gem` or `gem env` and `which jruby` ... thx

Milos Dolobac

unread,
May 17, 2014, 12:02:43 PM5/17/14
to us...@jruby.codehaus.org
I've provided more information about gem env and which ruby and which
gem on stackoverflow

Keith Bennett

unread,
May 17, 2014, 12:33:32 PM5/17/14
to us...@jruby.codehaus.org
Link?

On 5/17/2014, 12:02 PM, Milos Dolobac wrote:

Chandra Sekhar

unread,
May 14, 2015, 3:00:02 PM5/14/15
to us...@jruby.codehaus.org
i am facing the below error in the linux env.

gem install bundler-1.9.5

Bruce Adams

unread,
May 14, 2015, 3:10:38 PM5/14/15
to us...@jruby.codehaus.org
I'm surprised to see "bundler-1.9.5" as a gem name. Have you tried:

gem install bundler

Or, if you want a specific version of bundler, try the "--version"
option:

gem install bundler --version 1.9.5

- Bruce

On Thu, May 14, 2015, at 02:59 PM, Chandra Sekhar wrote:
> i am facing the below error in the linux env.
>
> gem install bundler-1.9.5
> ERROR: While executing gem ... (SocketError)
> recv: name or service not known

Chandra Sekhar

unread,
May 14, 2015, 4:30:40 PM5/14/15
to us...@jruby.codehaus.org
i am just trying to install bundler

gem install bundler
Reply all
Reply to author
Forward
0 new messages