🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #146

Re: Problem z RubyGems

#146
From: Marcin Mielżyński
Date: Mon, 21 Aug 2006 16:28
28 lines
1569 bytes
janu wrote:
> Witam,
> 
> Mam problem z RubyGems. Otóż zainstalowałem sobie ruby i gems pod
> Linuxem, ściągnąłem kilka gemsów, m. in. Syntax. Niestety nie
> mogę ich uruchomić, tj. wykorzystanie require 'syntax', wyrzuca mi
> brak biblioteki, z czym muszę się zgodzić, bo wyświetlając $: nie
> widzę katalogu, w którym trzymam gemy (jest to raczej standardowy
> katalog). Jak dodać katalog trzymający gemy, by móc z nich
> korzystać?
> 
> Pozdrawiam
> Jachu
> 

ruby -e 'require "rubygems";require "syntax"'

czyli to samo co:

ruby -rubygems -e 'require "syntax"'

czyli to samo co:

export RUBYOPT='-rubygems'

ruby -e 'require "syntax"'

lopex
Technical Details
Message-ID: <eccmuf$lpr$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <1156176653.789071.114270@m73g2000cwd.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: Marcin Mielżyński <lopx@gazeta.pl>
Newsgroups: pl.comp.lang.ruby
Subject: Re: Problem z RubyGems
Date: Mon, 21 Aug 2006 18:28:22 +0200
Organization: Onet.pl
Lines: 28
Message-ID: <eccmuf$lpr$1@news.onet.pl>
References: <1156176653.789071.114270@m73g2000cwd.googlegroups.com>
NNTP-Posting-Host: cuo178.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1156177679 22331 83.19.70.178 (21 Aug 2006 16:27:59 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Mon, 21 Aug 2006 16:27:59 +0000 (UTC)
X-Sender: 5Da2qcG7AWj7WISFX859Php/OS6q4VnB
In-Reply-To: <1156176653.789071.114270@m73g2000cwd.googlegroups.com>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit