ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ruby, merb, merb-action-args
@ 2008-09-30 19:06 Michael Bykov
  2008-09-30 20:01 ` Kirill A. Shutemov
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Bykov @ 2008-09-30 19:06 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

gem install merb merb-core merb-more merb-plugins

при в ключении в init.rb стандартного

dependency "merb-action-args"   # Provides support for querystring
arguments to be passed in to controller actions

получаем

merb -i
ERROR: Can't find header dir for ruby. Exiting...

ruby -v
ruby 1.8.7 (2008-07-10 patchlevel 51) [i586-linux-gnu]

rpm -qa |grep ruby|grep lib

libruby-1.8.7-alt7
libruby-devel-1.8.7-alt7

По-идее, должно работать из коробки.

Не хочется руби из исходников ставить, но что делать кроме этого, непонятно.

В сети нашел на эту ошибку только советы поставить ruby-devel и
build-essential, которых у нас нету. Это решает проблему (у них).
Может, у нас чего-то не хватает в libruby-devel?
М.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] ruby, merb, merb-action-args
  2008-09-30 19:06 [sisyphus] ruby, merb, merb-action-args Michael Bykov
@ 2008-09-30 20:01 ` Kirill A. Shutemov
  0 siblings, 0 replies; 2+ messages in thread
From: Kirill A. Shutemov @ 2008-09-30 20:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

On Tue, Sep 30, 2008 at 11:06:40PM +0400, Michael Bykov wrote:
> gem install merb merb-core merb-more merb-plugins
> 
> при в ключении в init.rb стандартного
> 
> dependency "merb-action-args"   # Provides support for querystring
> arguments to be passed in to controller actions
> 
> получаем
> 
> merb -i
> ERROR: Can't find header dir for ruby. Exiting...
> 
> ruby -v
> ruby 1.8.7 (2008-07-10 patchlevel 51) [i586-linux-gnu]
> 
> rpm -qa |grep ruby|grep lib
> 
> libruby-1.8.7-alt7
> libruby-devel-1.8.7-alt7
> 
> По-идее, должно работать из коробки.
> 
> Не хочется руби из исходников ставить, но что делать кроме этого, непонятно.
> 
> В сети нашел на эту ошибку только советы поставить ruby-devel и
> build-essential, которых у нас нету. Это решает проблему (у них).
> Может, у нас чего-то не хватает в libruby-devel?
> М.

Этот gem пытается искать хидеры не там где они есть. Не пользуйтесь rubygems.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-30 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-30 19:06 [sisyphus] ruby, merb, merb-action-args Michael Bykov
2008-09-30 20:01 ` Kirill A. Shutemov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git