From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26027 invoked by alias); 14 Nov 2014 01:12:38 -0000 Mailing-List: contact cygwin-announce-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-announce-owner@cygwin.com Reply-To: The Cygwin Mailing List Mail-Followup-To: cygwin-announce@cygwin.com Received: (qmail 23747 invoked by uid 89); 14 Nov 2014 01:12:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <546556EE.1020704@cygwin.com> Date: Fri, 14 Nov 2014 01:12:00 -0000 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin-announce@cygwin.com Subject: Updated: Ruby on Rails 4.0.11 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-11/txt/msg00022.txt.bz2 The following packages have been updated in the Cygwin distribution: * ruby-actionmailer-4.0.11-1 * ruby-actionpack-4.0.11-1 * ruby-activemodel-4.0.11-1 * ruby-activerecord-4.0.11-1 * ruby-activesupport-4.0.11-1 * ruby-bcrypt-3.1.9-1 * ruby-bundler-1.6.9-1 * ruby-execjs-2.2.2-1 * ruby-mysql2-0.3.17-1 * ruby-oj-2.11.1-1 * ruby-rails-4.0.11-1 * ruby-railties-4.0.11-1 * ruby-sass-rails-4.0.4-1 * ruby-sprockets-2.11.3-1 * ruby-sqlite3-1.3.10-1 * ruby-turbolinks-2.5.2-1 Rails is a web application development framework written in the Ruby language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks. These releases represent the latest upstream patch release of Rails 4.0, including security fixes: http://weblog.rubyonrails.org/2014/10/30/Rails_3_2_20_4_0_11_4_1_7_and_4_2_0_beta3_have_been_released/ Installing the 'ruby-rails' package and its dependencies should provide the gems required for an application in the default configuration; optional dependencies also available need to be selected separately for installation. Because of how gem dependencies work, in order to assure that you use these versions, the following steps must be followed when creating a new Rails application: $ rails new testapp1 --skip-bundle (files are installed) $ cd testapp1 $ bundle install --local (this will show that existing gems are being used) $ rails server (then point browser to http://localhost:3000/, or install rails-unicorn and...) $ unicorn_rails (then point browser to http://localhost:8080/) And to upgrade existing apps to this version of Rails: $ $EDITOR Gemfile (and update the gem 'rails' version number) $ bundle update --local (Existing gems should be found and used.) $ rake rails:update (and follow the prompts to update files) If you do not use the --local flags as indicated above, then other versions of these gems may end up being installed, which may break things either then or down the road. As always, you get to keep both pieces. :-) -- Yaakov