Package: rails
Version: 2.0.2-1
Severity: grave
Tags: security
Justification: renders package unusable

I just installed rails from scratch on a computer with no ruby or rails:

apt-get install rails

and after the installation it fails to start giving 'gem' related
errors. Please see below:

mycomputer:~/Projects/rails$ rails test      
/usr/share/rails/railties/bin/../lib/../../activesupport/lib/active_support/vendor.rb:5:
undefined method `gem' for main:Object (NoMethodError)
        from
/usr/share/rails/railties/bin/../lib/../../activesupport/lib/active_support.rb:26:in
`require'
        from
/usr/share/rails/railties/bin/../lib/../../activesupport/lib/active_support.rb:26
        from
/usr/share/rails/railties/bin/../lib/rails_generator.rb:28:in `require'
        from /usr/share/rails/railties/bin/../lib/rails_generator.rb:28
        from /usr/share/rails/railties/bin/rails:13:in `require'
        from /usr/share/rails/railties/bin/rails:13


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages rails depends on:
ii  dpkg             1.14.7                  package maintenance system for Deb
ii  liberb-ruby      4.1                     transitional dummy package
ii  libredcloth-ruby 3.0.99.0.svn.20060519-1 Textile module for Ruby 1.8
ii  libruby [liberb- 4.1                     Libraries necessary to run Ruby 1.
ii  libruby1.8-extra 0.4                     a bundle of additional libraries f
ii  libsqlite3-ruby1 1.2.1-1                 SQLite3 interface for Ruby 1.8
ii  rake             0.8.1-3                 a ruby build program
ii  rdoc             4.1                     Generate documentation from ruby s
ii  ruby             4.1                     An interpreter of object-oriented 
ii  ruby1.8          1.8.6.111-4             Interpreter of object-oriented scr

Versions of packages rails recommends:
pn  irb                           <none>     (no description available)
pn  libmocha-ruby1.8              <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to