<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21088</bug_id>
          
          <creation_ts>2009-08-16 18:49:20 +0400</creation_ts>
          <short_desc>rails приложения падают при установленном rubygems</short_desc>
          <delta_ts>2009-10-14 19:59:04 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ruby-rails</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Zubkov">icesik</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>imz</cc>
    
    <cc>led</cc>
    
    <cc>majioa</cc>
    
    <cc>mike</cc>
    
    <cc>nbr</cc>
    
    <cc>rider</cc>
    
    <cc>stalker</cc>
    
    <cc>stanv</cc>
    
    <cc>timonbl4</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96566</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2009-08-16 18:49:20 +0400</bug_when>
    <thetext>[icesik@iceberg ~]$ rpm -q ruby-rails
ruby-rails-2.3.3.1-alt3
[icesik@iceberg ~]$ cd tmp
[icesik@iceberg tmp]$ rails demo1
[выхлоп поскипан]
[icesik@iceberg tmp]$ cd demo1
[icesik@iceberg demo1]$ ./script/server 
=&gt; Booting WEBrick
=&gt; 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&apos;: uninitialized constant Rails::GemDependency (NameError)
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:436:in `load_missing_constant&apos;
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:80:in `const_missing_with_dependencies&apos;
	from /usr/share/ruby/vendor_ruby/1.9/initializer.rb:299:in `add_gem_load_paths&apos;
	from /usr/share/ruby/vendor_ruby/1.9/initializer.rb:131:in `process&apos;
	from /usr/share/ruby/vendor_ruby/1.9/initializer.rb:112:in `run&apos;
	from /home/icesik/tmp/demo1/config/environment.rb:9:in `&lt;top (required)&gt;&apos;
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in `require&apos;
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in `block in require&apos;
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:521:in `new_constants_in&apos;
	from /usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in `require&apos;
	from /usr/share/ruby/vendor_ruby/1.9/commands/server.rb:84:in `&lt;top (required)&gt;&apos;
	from ./script/server:3:in `require&apos;
	from ./script/server:3:in `&lt;main&gt;&apos;
[icesik@iceberg demo1]$ export RUBYOPT=&apos;--enable gems&apos;
[icesik@iceberg demo1]$ ./script/server 
=&gt; Booting WEBrick
=&gt; Rails 2.3.3 application starting on http://0.0.0.0:3000
=&gt; Call with -d to detach
=&gt; Ctrl-C to shutdown server
[2009-08-16 17:48:17] INFO  WEBrick 1.3.1
[2009-08-16 17:48:17] INFO  ruby 1.9.1 (2009-07-27) [i586-linux-gnu]
[2009-08-16 17:48:17] INFO  WEBrick::HTTPServer#start: pid=8348 port=3000
^C[2009-08-16 17:48:21] INFO  going to shutdown ...
[2009-08-16 17:48:21] INFO  WEBrick::HTTPServer#start done.
Exiting
[icesik@iceberg demo1]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96568</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2009-08-16 18:54:29 +0400</bug_when>
    <thetext>Забыл добавить, что из самих гемов ничего не стоит.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100179</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Kuznetsov">vitty</who>
    <bug_when>2009-09-26 23:10:38 +0400</bug_when>
    <thetext>Есть ли продвижение по данной баге?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100180</commentid>
    <comment_count>3</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2009-09-27 00:44:43 +0400</bug_when>
    <thetext>А надо срочно-срочно чинить?  Workaround exists, export RUBYOPT=&apos;--enable gems&apos;.  Всё равно у rails на 1.9 очень большие проблемы с non-latin даными.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100197</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Kuznetsov">vitty</who>
    <bug_when>2009-09-27 17:14:34 +0400</bug_when>
    <thetext>Хм, works for me

Да и в релизноутсах 2.3:

Rails 2.3 should pass all of its own tests whether you are running on Ruby 1.8 or the now-released Ruby 1.9.1. You should be aware, though, that moving to 1.9.1 entails checking all of the data adapters, plugins, and other code that you depend on for Ruby 1.9.1 compatibility, as well as Rails core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101446</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2009-10-13 21:11:23 +0400</bug_when>
    <thetext>ruby-rails-2.3.4-alt1 -&gt; sisyphus:

* Tue Oct 13 2009 Alexey I. Froloff &lt;raorn@altlinux&gt; 2.3.4-alt1

- [2.3.4-68-g7454d18]
- Do not throw errors if rubygems installed and loaded in the middle of
  initiliazation process (closes: #21088)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>