ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] rails + rubygems
@ 2009-08-16 12:53 Igor Zubkov
  2009-08-16 14:07 ` Alexey I. Froloff
  0 siblings, 1 reply; 7+ messages in thread
From: Igor Zubkov @ 2009-08-16 12:53 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Hi!

После установки rubygems из репозиория Сизиф начинаются проблемы с
рельсовыми приложениями. Они падают вот с такой диагностикой:
[icesik@iceberg demo2]$ ./script/server
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
/usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:440:in
`rescue in load_missing_constant': uninitialized constant
Rails::GemDependency (NameError)
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:436:in
`load_missing_constant'
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:80:in
`const_missing_with_dependencies'
	from /usr/share/ruby/vendor_ruby/1.9/initializer.rb:299:in `add_gem_load_paths'
	from /usr/share/ruby/vendor_ruby/1.9/initializer.rb:131:in `process'
	from /usr/share/ruby/vendor_ruby/1.9/initializer.rb:112:in `run'
	from /home/icesik/tmp/rails/demo2/config/environment.rb:9:in `<top (required)>'
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in
`require'
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in
`block in require'
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:521:in
`new_constants_in'
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in
`require'
	from /usr/share/ruby/vendor_ruby/1.9/commands/server.rb:84:in `<top
(required)>'
	from ./script/server:3:in `require'
	from ./script/server:3:in `<main>'
[icesik@iceberg demo2]$

После удаления rubygems всё работает как и должно. Собственно вопрос,
можно ли использовать rails из Сизифа и ставить часть пакетов (которые
не зависят от рельс) из rubygems?

-- 
biow0lf!


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

end of thread, other threads:[~2009-08-16 15:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-16 12:53 [sisyphus] rails + rubygems Igor Zubkov
2009-08-16 14:07 ` Alexey I. Froloff
2009-08-16 14:14   ` Igor Zubkov
2009-08-16 14:18     ` [sisyphus] [JT] " Michael Shigorin
2009-08-16 15:28       ` Michael Bykov
2009-08-16 14:36     ` [sisyphus] " Alexey I. Froloff
2009-08-16 14:53       ` Igor Zubkov

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