You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2008/11/21 18:25:27 UTC

svn commit: r719647 - in /ode/sandbox/singleshot: README.rdoc config/environment.rb

Author: assaf
Date: Fri Nov 21 09:25:26 2008
New Revision: 719647

URL: http://svn.apache.org/viewvc?rev=719647&view=rev
Log:
Now using Rails 2.2 RC2 gems, since edge has move forward to 2.3.

Modified:
    ode/sandbox/singleshot/README.rdoc
    ode/sandbox/singleshot/config/environment.rb

Modified: ode/sandbox/singleshot/README.rdoc
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/README.rdoc?rev=719647&r1=719646&r2=719647&view=diff
==============================================================================
--- ode/sandbox/singleshot/README.rdoc (original)
+++ ode/sandbox/singleshot/README.rdoc Fri Nov 21 09:25:26 2008
@@ -1,24 +1,27 @@
 == Setting up the environment
 
-Singleshot is developed against Rails 2.2 (requires RC1 or later).
+Singleshot is developed against Rails 2.2.  Make sure to have 2.2 RC2 installed:
+
+  gem update --system.
+  gem install rails -s http://gems.rubyonrails.org
 
 To get the latest copy use one of the following:
 
-$ svn checkout http://svn.apache.org/repos/asf/ode/sandbox/singleshot
-$ git svn clone http://svn.apache.org/repos/asf/ode/sandbox/singleshot
-$ git clone git://github.com/assaf/singleshot.git
+  svn checkout http://svn.apache.org/repos/asf/ode/sandbox/singleshot
+  git svn clone http://svn.apache.org/repos/asf/ode/sandbox/singleshot
+  git clone git://github.com/assaf/singleshot.git
 
 To setup you development environment, specifically installing all the necessary
 Gems and setting up the development and test databases, run the setup task:
 
-$ rake setup
+  rake setup
 
 This will also create a default account using your user name and the password
 'secret'
 
 To get started:
 
-$ rake run
+  rake run
 
 Point your browser to http://localhost:3000 and login with your user name and
 password.
@@ -45,18 +48,18 @@
 
 Those changes are recorded in the form of migration, but to update run:
 
-$ rake db:migrate:reset
+  rake db:migrate:reset
 
 This task will recreate the entire development and test database.  In addition,
 we uses the annotate-models Gems to, well, annotate the Rails models with the
 most recent database schema.  So when changing the database schema, follow
 with:
 
-$ rake annotate_models
+  rake annotate_models
 
 To recreate the dummy data used for development:
 
-$ rake db:populate
+  rake db:populate
 
 
 == Getting Involved
@@ -73,10 +76,3 @@
 http://hobix.com/textile/
 
 
-== License
-
-:include:LICENSE
-
-== Notice
-
-:include:NOTICE

Modified: ode/sandbox/singleshot/config/environment.rb
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/config/environment.rb?rev=719647&r1=719646&r2=719647&view=diff
==============================================================================
--- ode/sandbox/singleshot/config/environment.rb (original)
+++ ode/sandbox/singleshot/config/environment.rb Fri Nov 21 09:25:26 2008
@@ -17,8 +17,7 @@
 # Be sure to restart your web server when you modify this file.
 
 ENV['RAILS_ENV'] ||= 'production'
-# TODO:  Uncomment this when we finally upgrade to Rails 2.2.
-RAILS_GEM_VERSION = '2.2.0' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
 # Bootstrap the Rails environment, frameworks, and default configuration
 require File.join(File.dirname(__FILE__), 'boot')