Differences between revisions 24 and 27 (spanning 3 versions)
Revision 24 as of 2012-06-25 00:24:54
Size: 1997
Comment:
Revision 27 as of 2012-06-26 17:09:16
Size: 2650
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
TODO list == TODO list ==
Line 15: Line 15:
     * upload version 1.1 after is passed NEW !!!
Line 19: Line 20:
       * :o ruby-sprockets is 2.4.x, while the actionpack gemspec requires 2.1.x !!!!
Line 35: Line 37:


== Rails 3 testcase ==

 * Create an empty application
   * must not download anything via rubygems/bundler, yet the Gemfile must be same as the one created by rails installed via rubygems
   * you must be able to boot the application
     * rails console
     * rails server
   * remove public/index.html
   * add a welcome controller and point the root to its index
 * acessing / must work
   * jquery and jquery_ujs must be referenced in the page header
 * rake assets:precompile must work

Getting Rails 3 into Debian wheezy - coordination page

DISCLAIMER: we don't know if it will be possible to get Rails 3 on wheezy. Nevertheless, this page is being used to coordinate our attempt. -- AntonioTerceiro

TODO list

  • metapackages: ruby-rails-3.2 + rails3
    • /!\ uploaded, waiting for NEW processing.

  • Make Debian packages recognizable by Rubygems - this is necessary because of the way Rails uses bundler to declare application dependencies and load them at the right time. It will require overriding the Rubygems path and modifying dh_ruby to install a .gemspec file. WIP - terceiro

    • change gem2deb to install gemspec

    • upload this new gem2deb

    • upload rubygems-integration

      • /!\ done, waiting for NEW processing.

      • upload version 1.1 after is passed NEW !!!
    • {*} mass upload of all packages depending on gem2deb

      • see this thread

      • Look out for relevant exceptions:
        • none of more common the database drivers (ruby-sqlite3, ruby-mysql, ruby-pg) have gemspecs!
        • :o ruby-sprockets is 2.4.x, while the actionpack gemspec requires 2.1.x !!!!

  • review railties after Debian packages are recognizable by Rubygems
  • Package missing dependencies:
    • jquery-rails (2.0.2) WIP - terceiro

    • rdoc not actually needed, provided by ruby

    • coffee-script-source not needed (see coffee-script below)

    • execjs
      • depends on a Javascript runtime. Node.js might not get into Wheezy, but maybe we can get execjs to work fine under gjs.
      • execjs also supports spidermonkey, but the spidermonkey adapter is marked as deprecated (why is that?)
    • coffee-script
      • must be patched to use the existing coffeescript from libjs-coffeescript)
    • coffee-rails
    • sass-rails WIP - gramos

    • uglifier
  • bugs
    • master bug preventing the entire rails 3 stack from entering testing: 674518

    • bug links here

Rails 3 testcase

  • Create an empty application
    • must not download anything via rubygems/bundler, yet the Gemfile must be same as the one created by rails installed via rubygems
    • you must be able to boot the application
      • rails console
      • rails server
    • remove public/index.html
    • add a welcome controller and point the root to its index
  • acessing / must work
    • jquery and jquery_ujs must be referenced in the page header
  • rake assets:precompile must work