cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject svn commit: r1551357 - in /cordova/site: Gemfile README.md
Date Mon, 16 Dec 2013 21:10:48 GMT
Author: agrieve
Date: Mon Dec 16 21:10:48 2013
New Revision: 1551357

URL: http://svn.apache.org/r1551357
Log:
Update Ruby install instructions to not require sudo, and to lock down versions of things.


Modified:
    cordova/site/Gemfile
    cordova/site/README.md

Modified: cordova/site/Gemfile
URL: http://svn.apache.org/viewvc/cordova/site/Gemfile?rev=1551357&r1=1551356&r2=1551357&view=diff
==============================================================================
--- cordova/site/Gemfile (original)
+++ cordova/site/Gemfile Mon Dec 16 21:10:48 2013
@@ -1,6 +1,7 @@
 source "https://rubygems.org"
-gem 'jekyll'
-gem 'rake'
+ruby '1.8.7'
+gem 'jekyll', '1.0.3'
+gem 'rake', '0.8.7'
 gem 'less'
-gem 'therubyracer'
+gem 'therubyracer' # Needed by less
 

Modified: cordova/site/README.md
URL: http://svn.apache.org/viewvc/cordova/site/README.md?rev=1551357&r1=1551356&r2=1551357&view=diff
==============================================================================
--- cordova/site/README.md (original)
+++ cordova/site/README.md Mon Dec 16 21:10:48 2013
@@ -1,18 +1,18 @@
 Cordova Website
 ===============
 
-
-Dependencies
-------------
-
-- Jekyll
-- See `Gemfile` for more details, and below on how to install.
-
 Get the source code
 -------------------
 
     $ svn checkout https://svn.apache.org/repos/asf/cordova/site cordova-website
 
+Installing Ruby Dependencies
+----------------------------
+
+    curl -sSL https://get.rvm.io | bash -s stable
+    rvm install ruby-1.8.7-p374
+    gem install bundler
+    bundle install
 
 How to compile the site
 -----------------------
@@ -20,13 +20,6 @@ How to compile the site
     # change to the cordova website directory.
     $ cd /path/to/cordova-website
 
-    # install bundler if it isn't already installed.
-    $ sudo gem install bundler
-
-    # update project gems.
-    # only the first time or when the Gemfile is updated.
-    $ sudo bundle install
-
     # compile the site.
     $ rake build
 
@@ -115,6 +108,15 @@ To get a summary of changes (and count t
 To get the number of authors:
     for l in cordova-*; do ( cd $l ; git log --format="%an" --no-merges --since='1 week ago'
) ; done | sort | uniq | wc -l
 
+***Creating Release Announcement Posts***
+
+Create a copy of a previous post and update it.
+
+To print the list of plugin versions tested:
+  1. Make sure all plugin repos are cloned, updated, and on master branch
+  2. Run:
+    for d in *-plugin-*; do ( cd $d && echo "* $(basename $PWD): $(grep version plugin.xml|grep
-v encoding|cut -d'"' -f2)" ) ; done | grep '^\*'
+
 **Getting Approval:**
 
 Each blog post must be approved by at least one committer other than yourself, and must be
available for all to see before going live. To request a review:



Mime
View raw message