Your message dated Tue, 03 Mar 2009 19:32:11 +0000
with message-id <[email protected]>
and subject line Bug#499187: fixed in rails 2.2.2-1
has caused the Debian Bug report #499187,
regarding please explain how to configure non-packaged apps to work with 
Debian's rails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
499187: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499187
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rails
Version: 2.0.2-1ubuntu1
Severity: wishlist
Tags: patch

Please see attached patch to /usr/share/doc/rails/README.Debian and attached 
script.

Many thanks for your packaging efforts!
*t

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-19-generic (SMP w/2 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rails depends on:
ii  dpkg             1.14.16.6ubuntu4        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-2ubuntu1.1    Interpreter of object-oriented scr

Versions of packages rails recommends:
ii  irb                           4.1        Interactive Ruby (irb)
ii  libmocha-ruby1.8              0.5.3-1    Mocking and stubbing library for R

-- no debconf information
--- README.Debian.orig  2008-09-16 22:30:23.000000000 +0200
+++ README.Debian       2008-09-16 23:00:01.000000000 +0200
@@ -1,18 +1,72 @@
 Rails On Debian
 ----------------
 
-NOTE: DEST_DIR == destination directory (you choose!)
+To get started with your own Rails application
+----------------------------------------------
 
+NOTE: DEST_DIR == destination directory (you choose!)
 
-To get started,
 
 1. Install rails into a working directry by running `rails DEST_DIR`.
-2. Run the WEBrick servlet from DEST_DIR: script/server (run with --help for 
options)
-3. Go to http://localhost:3000/ and get "Congratulations, you've put Ruby on 
Rails!"
-4. Follow the guidelines on the "Congratulations, you've put Ruby on Rails!" 
screen
+2. Run the WEBrick servlet from DEST_DIR: script/server (run with --help for
+   options)
+3. Go to http://localhost:3000/ and get "Congratulations, you've put Ruby on
+   Rails!"
+4. Follow the guidelines on the "Congratulations, you've put Ruby on Rails!"
+   screen
+
+Complete API reference is also available (if you deploy ruby with
+documentation) in DEST_DIR/doc/api/index.html and well as at
+ http://www.rubyonrails.com. 
+
+
+To run a non-packaged Rails application
+---------------------------------------
+
+Debian puts all Ruby and Rails libraries into Debian Packages. Theses get
+installed at FHS compliant locations.
+
+In the case of Rails libraries under:
+
+  /usr/share/rails/
+
+In the case of Ruby libraries under:
+
+  /usr/lib/ruby/1.8/
+  /usr/lib/ruby/1.9/
+
+Non-packaged Rails applications normaly use `gem` to dynamically load the
+classes and modules they need. However `gem` does not know about the
+libraries provided by Debian and thus starting the application will fail
+with a message like the following:
+
+  $ ./script/server
+  Missing the Rails 2.0.2 gem. Please `gem install -v=2.0.2 rails`, update
+  your RAILS_GEM_VERSION setting in config/environment.rb for the Rails
+  version you do have installed, or comment out RAILS_GEM_VERSION to use the
+  latest version installed.
+
+The solution that Debian uses when its `rails` tool wrapper is used to create
+a new rails application is to add references to Debian's packaged libraries
+to the created Rails application. Thus:
+
+  $ rails my_project
+
+will create this:
+
+  $ ls -l my_project/vendor
+  lrwxrwxrwx 1 joe joe 29 2008-09-16 20:50 actionmailer -> 
/usr/share/rails/actionmailer
+  lrwxrwxrwx 1 joe joe 27 2008-09-16 20:50 actionpack -> 
/usr/share/rails/actionpack
+  lrwxrwxrwx 1 joe joe 28 2008-09-16 20:50 active_ldap -> 
/usr/share/rails/active_ldap
+  lrwxrwxrwx 1 joe joe 28 2008-09-16 20:50 activemodel -> 
/usr/share/rails/activemodel
+  lrwxrwxrwx 1 joe joe 29 2008-09-16 20:50 activerecord -> 
/usr/share/rails/activerecord
+  lrwxrwxrwx 1 joe joe 31 2008-09-16 20:50 activeresource -> 
/usr/share/rails/activeresource
+  lrwxrwxrwx 1 joe joe 30 2008-09-16 20:50 activesupport -> 
/usr/share/rails/activesupport
+  lrwxrwxrwx 1 joe joe 16 2008-09-16 20:50 rails -> /usr/share/rails
+  lrwxrwxrwx 1 joe joe 25 2008-09-16 20:50 railties -> 
/usr/share/rails/railties
 
-Complete API reference is also available (if you deploy ruby with 
documentation)
-in DEST_DIR/doc/api/index.html and well as at http://www.rubyonrails.com. 
+You can use the command rails-app-debianize to create those links.
 
 
  -- Adam Majer <[email protected]>, Fri,  7 Mar 2005
+ -- Tomas Pospisek <[email protected]>, Thu, 16 Sep 2008

Attachment: rails-app-debianize
Description: application/shellscript


--- End Message ---
--- Begin Message ---
Source: rails
Source-Version: 2.2.2-1

We believe that the bug you reported is fixed in the latest version of
rails, which is due to be installed in the Debian FTP archive:

rails_2.2.2-1.diff.gz
  to pool/main/r/rails/rails_2.2.2-1.diff.gz
rails_2.2.2-1.dsc
  to pool/main/r/rails/rails_2.2.2-1.dsc
rails_2.2.2-1_all.deb
  to pool/main/r/rails/rails_2.2.2-1_all.deb
rails_2.2.2.orig.tar.gz
  to pool/main/r/rails/rails_2.2.2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Majer <[email protected]> (supplier of updated rails package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 03 Mar 2009 12:40:53 -0600
Source: rails
Binary: rails
Architecture: source all
Version: 2.2.2-1
Distribution: unstable
Urgency: low
Maintainer: Adam Majer <[email protected]>
Changed-By: Adam Majer <[email protected]>
Description: 
 rails      - MVC ruby based framework geared for web application development
Closes: 499187 510580 510580 511860 514582
Changes: 
 rails (2.2.2-1) unstable; urgency=low
 .
   * New upstream release (closes: #510580, 510580)
      + fixes the problem with migration with symbolic field types
        (closes: #511860)
   * debian/control:
      + Depend on Rake 0.8.3 or later
      + Build-Depends-Indep on libmocha-ruby for unit tests
      + Move most of the build dependencies to Build-Depends-Indep
      + Remove the predepends as Lenny is released
   * Load XMLSimple without specifying a path (closes: #514582)
   * Add an explanation how to configure non-packaged rails adds to work
     with Debian version of rails. Also include a tiny script to help in
     this effort. Tomas Pospisek provided the patch. (closes: #499187)
Checksums-Sha1: 
 9b98f3be01084081b6cd6b6cdcc7eb68ca7f94a2 1244 rails_2.2.2-1.dsc
 e7b05fdf3d77a115c21fe9a256ddec55d7edd299 3036828 rails_2.2.2.orig.tar.gz
 d7c264d0898797616e9604999077fa72cc4dd7fa 14753 rails_2.2.2-1.diff.gz
 db06d229669ac664a587b1043afc96678499f942 3430286 rails_2.2.2-1_all.deb
Checksums-Sha256: 
 51c76969785074a261e46c68fdbdc6dea521f43a562b88e8e830f622e72f7f01 1244 
rails_2.2.2-1.dsc
 01b20cda6c59ab1ba9c3e072fea7439698eec073cd5008d0dc8dc3f901551623 3036828 
rails_2.2.2.orig.tar.gz
 8018c1a0baeb195aa061da446936e3deb37aaaa9df15343d8e7b5209ac2c2441 14753 
rails_2.2.2-1.diff.gz
 0a58c390c3ae67c7a769cda70ee650c4535909db695eae95dcdb3a81b3601493 3430286 
rails_2.2.2-1_all.deb
Files: 
 42345d77e2d2f4ea6acdb939ca90fbe2 1244 web optional rails_2.2.2-1.dsc
 ce0adcd111a19e7a4a0172cfebcb028c 3036828 web optional rails_2.2.2.orig.tar.gz
 4cdaa6649cf598403946b3114b78834d 14753 web optional rails_2.2.2-1.diff.gz
 b35a3784b02ec6ee0d9c3925a19d7697 3430286 web optional rails_2.2.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmtgooACgkQ73/bNdaAYUU1EgCfVlUQLkd9sojg+vqowdHOg91l
fEcAoNVJJ45kBP6JZhgM1u0Wg9fUNii8
=PU+L
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to