[DRE-maint] Bug#634746: ruby-rails-2.3: rails : command not found

Pierre M. adrpmym at yahoo.fr
Tue Jul 19 19:38:48 UTC 2011


Package: ruby-rails-2.3
Version: 2.3.11-1
Severity: important

Hello,

I think I have some PATH issue with the package. I imagine I'm missing a
symlink or something like this. Here is my failed use case :

user at host:/tmp/testdir$ ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
user at host:/tmp/testdir$ rake --version
rake, version 0.8.7
user at host:/tmp/testdir$ rails --version
bash: rails : commande introuvable (French for command not found)
user at host:/tmp/testdir$ ruby /usr/lib/ruby/vendor_ruby/railties/bin/rails
--version
Rails 2.3.11
user at host:/tmp/testdir$ ruby /usr/lib/ruby/vendor_ruby/railties/bin/rails app1
      create
      create  app/controllers
      create  app/helpers
      create  app/models
      create  app/views/layouts
      create  config/environments
      create  config/initializers
      create  config/locales
      create  db
      create  doc
      create  lib
      create  lib/tasks
      create  log
      create  public/images
      create  public/javascripts
      create  public/stylesheets
      create  script/performance
      create  test/fixtures
      create  test/functional
      create  test/integration
      create  test/performance
      create  test/unit
      create  vendor
      create  vendor/plugins
      create  tmp/sessions
      create  tmp/sockets
      create  tmp/cache
      create  tmp/pids
      create  Rakefile
No such file or directory -
/usr/lib/ruby/vendor_ruby/railties/lib/rails_generator/generators/applications/app/../../../../../fresh_rakefile
user at host:/tmp/testdir$ reportbug :-)

Thank you for Rails packaging. Have fun hacking on Debian.

Pierre M.



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-rails-2.3 depends on:
ii  libjs-prototype               1.6.1-1    JavaScript Framework for dynamic w
ii  libjs-scriptaculous           1.8.3-1    JavaScript library for dynamic web
ii  rake                          0.8.7-2    a ruby build program
ii  ruby                          4.5        An interpreter of object-oriented 
ii  ruby-actionmailer-2.3         2.3.11-2   Framework for generation of custom
ii  ruby-actionpack-2.3           2.3.11-2   Controller and View framework used
ii  ruby-activerecord-2.3         2.3.11-3   ORD database interface for ruby
ii  ruby-activeresource-2.3       2.3.11-2   Connects objects and REST web serv
ii  ruby-activesupport-2.3        2.3.11-2   Support and utility classes used b

ruby-rails-2.3 recommends no packages.

ruby-rails-2.3 suggests no packages.

-- no debconf information





More information about the Pkg-ruby-extras-maintainers mailing list