public inbox for cygwin-announce@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin-announce@cygwin.com
Subject: Updated: Ruby on Rails 4.0.12
Date: Mon, 17 Nov 2014 21:17:00 -0000	[thread overview]
Message-ID: <546A64BF.5040108@cygwin.com> (raw)

The following packages have been updated in the Cygwin distribution:

* ruby-actionmailer-4.0.12-1
* ruby-actionpack-4.0.12-1
* ruby-activemodel-4.0.12-1
* ruby-activerecord-4.0.12-1
* ruby-activesupport-4.0.12-1
* ruby-rails-4.0.12-1
* ruby-railties-4.0.12-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/11/17/Rails-3-2-21-4-0-12-and-4-1-8-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

                 reply	other threads:[~2014-11-17 21:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546A64BF.5040108@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin-announce@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).