You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-commits@incubator.apache.org by sh...@apache.org on 2009/11/13 17:26:43 UTC
svn commit: r835932 - /incubator/olio/workload/rails/trunk/bin/rails_env.sh
Author: shanti
Date: Fri Nov 13 17:26:43 2009
New Revision: 835932
URL: http://svn.apache.org/viewvc?rev=835932&view=rev
Log:
Adding missing file required by RailsService
Added:
incubator/olio/workload/rails/trunk/bin/rails_env.sh (with props)
Added: incubator/olio/workload/rails/trunk/bin/rails_env.sh
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/bin/rails_env.sh?rev=835932&view=auto
==============================================================================
--- incubator/olio/workload/rails/trunk/bin/rails_env.sh (added)
+++ incubator/olio/workload/rails/trunk/bin/rails_env.sh Fri Nov 13 17:26:43 2009
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# This script captures various information related to the rails app
+# running environment. It is used by the 'RailsService'.
+#
+# First locate ruby
+RUBY=`which ruby`
+if [ $? -eq 0 ] ; then
+ echo "Ruby version"
+ echo "------------"
+ $RUBY -v
+ echo "\n"
+fi
+
+GEM=`which gem`
+if [ $? -eq 0 ] ; then
+ echo "Gems Installed"
+ echo "--------------"
+ $GEM list
+fi
Propchange: incubator/olio/workload/rails/trunk/bin/rails_env.sh
------------------------------------------------------------------------------
svn:executable = *