Public bug reported: Binary package hint: rails
Ubuntu release: 9.10 package: rails 2.2.3-1 Create a rails app until the above backage, and then run 'script/console'. This will result in a failure looking for a non- existent 'backtrace_cleaner.rb': olo...@strider:~/Sites/blog$ script/console Loading development environment (Rails 2.2.3) /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rails/backtrace_cleaner (MissingSourceFile) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /usr/lib/ruby/1.8/active_support/test_case.rb:24 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /home/oloryn/Sites/blog/vendor/rails/actionpack/lib/action_controller/integration.rb:1 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /home/oloryn/Sites/blog/vendor/rails/railties/lib/console_app.rb:1 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' from /home/oloryn/Sites/blog/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' from /usr/lib/ruby/1.8/irb/init.rb:252:in `load_modules' from /usr/lib/ruby/1.8/irb/init.rb:250:in `each' from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules' from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup' from /usr/lib/ruby/1.8/irb.rb:54:in `start' from /usr/bin/irb:13 This seems odd, as ActiveSupport::Backtrace was not added until Rails 2.3, as far as I have been able to research. You don't get this error if you use Rails 2.2.3 installed by gem, rather than the Ubuntu package. And there seem to be some differences: The lib directory for ActiveSupport 2.2.3 as installed by the gem: olo...@test1:/var/lib/gems/1.8/gems/activesupport-2.2.3/lib/active_support$ ls -gail total 200 229441736 drwxr-xr-x 10 root 4096 2010-02-17 22:28 . 229441735 drwxr-xr-x 3 root 4096 2010-02-17 22:28 .. 229441737 -rw-r--r-- 1 root 1057 2010-02-17 22:28 base64.rb 229441738 -rw-r--r-- 1 root 794 2010-02-17 22:28 basic_object.rb 229441739 -rw-r--r-- 1 root 3345 2010-02-17 22:28 buffered_logger.rb 229441740 drwxr-xr-x 2 root 4096 2010-02-17 22:28 cache 229441747 -rw-r--r-- 1 root 7743 2010-02-17 22:28 cache.rb 229441748 -rw-r--r-- 1 root 7291 2010-02-17 22:28 callbacks.rb 229441749 drwxr-xr-x 22 root 4096 2010-02-17 22:28 core_ext 229441875 -rw-r--r-- 1 root 152 2010-02-17 22:28 core_ext.rb 229441876 -rw-r--r-- 1 root 22144 2010-02-17 22:28 dependencies.rb 229441877 -rw-r--r-- 1 root 7370 2010-02-17 22:28 deprecation.rb 229441878 -rw-r--r-- 1 root 2699 2010-02-17 22:28 duration.rb 229441879 -rw-r--r-- 1 root 592 2010-02-17 22:28 gzip.rb 229441880 -rw-r--r-- 1 root 2227 2010-02-17 22:28 inflections.rb 229441881 -rw-r--r-- 1 root 15552 2010-02-17 22:28 inflector.rb 229441882 drwxr-xr-x 3 root 4096 2010-02-17 22:28 json 229441900 -rw-r--r-- 1 root 624 2010-02-17 22:28 json.rb 229441901 drwxr-xr-x 2 root 4096 2010-02-17 22:28 locale 229441903 -rw-r--r-- 1 root 2403 2010-02-17 22:28 memoizable.rb 229441904 drwxr-xr-x 2 root 4096 2010-02-17 22:28 multibyte 229441909 -rw-r--r-- 1 root 2403 2010-02-17 22:28 multibyte.rb 229441910 -rw-r--r-- 1 root 517 2010-02-17 22:28 option_merger.rb 229441911 -rw-r--r-- 1 root 1217 2010-02-17 22:28 ordered_hash.rb 229441912 -rw-r--r-- 1 root 351 2010-02-17 22:28 ordered_options.rb 229441913 -rw-r--r-- 1 root 4049 2010-02-17 22:28 rescuable.rb 229441914 -rw-r--r-- 1 root 6718 2010-02-17 22:28 secure_random.rb 229441915 -rw-r--r-- 1 root 530 2010-02-17 22:28 string_inquirer.rb 229441916 -rw-r--r-- 1 root 654 2010-02-17 22:28 test_case.rb 229441917 drwxr-xr-x 3 root 4096 2010-02-17 22:28 testing 229441926 -rw-r--r-- 1 root 11178 2010-02-17 22:28 time_with_zone.rb 229441927 drwxr-xr-x 2 root 4096 2010-02-17 22:28 values 229441930 drwxr-xr-x 7 root 4096 2010-02-17 22:28 vendor 229442102 -rw-r--r-- 1 root 753 2010-02-17 22:28 vendor.rb 229442103 -rw-r--r-- 1 root 144 2010-02-17 22:28 version.rb 229442104 -rw-r--r-- 1 root 2243 2010-02-17 22:28 whiny_nil.rb versus the lib directory of ActiveSupport "2.2.3" as installed by the Karmic rails 2.2.3-1 package: olo...@strider:/usr/lib/ruby/1.8/active_support$ l total 212 -rw-r--r-- 1 root root 2517 2009-03-04 18:07 backtrace_cleaner.rb -rw-r--r-- 1 root root 1057 2008-11-21 03:10 base64.rb -rw-r--r-- 1 root root 794 2008-11-21 03:10 basic_object.rb -rw-r--r-- 1 root root 3811 2009-03-04 18:07 buffered_logger.rb drwxr-xr-x 3 root root 4096 2010-02-17 14:52 cache -rw-r--r-- 1 root root 8006 2009-03-04 18:07 cache.rb -rw-r--r-- 1 root root 8604 2009-03-04 18:07 callbacks.rb drwxr-xr-x 22 root root 4096 2010-02-17 14:52 core_ext -rw-r--r-- 1 root root 159 2009-03-04 18:07 core_ext.rb -rw-r--r-- 1 root root 22260 2009-03-04 18:07 dependencies.rb -rw-r--r-- 1 root root 6385 2009-03-04 18:07 deprecation.rb -rw-r--r-- 1 root root 2754 2009-03-04 18:07 duration.rb -rw-r--r-- 1 root root 592 2008-10-19 16:15 gzip.rb -rw-r--r-- 1 root root 2271 2009-03-04 18:07 inflections.rb -rw-r--r-- 1 root root 15814 2009-03-15 21:25 inflector.rb drwxr-xr-x 3 root root 4096 2010-02-17 14:52 json -rw-r--r-- 1 root root 624 2008-11-21 03:10 json.rb drwxr-xr-x 2 root root 4096 2010-02-17 14:52 locale -rw-r--r-- 1 root root 5522 2009-03-15 21:25 memoizable.rb -rw-r--r-- 1 root root 1911 2009-03-04 18:07 message_encryptor.rb -rw-r--r-- 1 root root 1323 2009-03-04 18:07 message_verifier.rb drwxr-xr-x 2 root root 4096 2010-02-17 14:52 multibyte -rw-r--r-- 1 root root 1259 2008-11-21 03:10 multibyte.rb -rw-r--r-- 1 root root 694 2009-03-04 18:07 option_merger.rb -rw-r--r-- 1 root root 1802 2009-03-15 21:25 ordered_hash.rb -rw-r--r-- 1 root root 351 2008-10-19 16:15 ordered_options.rb -rw-r--r-- 1 root root 4049 2008-11-21 03:10 rescuable.rb -rw-r--r-- 1 root root 6793 2009-03-04 18:07 secure_random.rb -rw-r--r-- 1 root root 530 2008-11-21 03:10 string_inquirer.rb -rw-r--r-- 1 root root 1274 2009-03-04 18:07 test_case.rb drwxr-xr-x 2 root root 4096 2010-02-17 14:52 testing -rw-r--r-- 1 root root 11254 2009-03-04 18:07 time_with_zone.rb drwxr-xr-x 2 root root 4096 2010-02-17 14:52 values -rw-r--r-- 1 root root 144 2009-03-15 21:31 version.rb -rw-r--r-- 1 root root 2243 2008-10-19 16:15 whiny_nil.rb drwxr-xr-x 2 root root 4096 2010-02-17 14:52 xml_mini -rw-r--r-- 1 root root 657 2009-03-15 21:25 xml_mini.rb Note a number of diffences, including the addition of backtrace_cleaner.rb. A number of the filesize differences match filesizes in ActiveSupport 2.3.5. Could we have 2.3.* code mixed in to supposedly 2.2.3 code? ** Affects: rails (Ubuntu) Importance: Undecided Status: New -- script/console requires non-existent rails/backtrace_cleaner.rb https://bugs.launchpad.net/bugs/523545 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs