public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Update CI configuration to reflect latest gems.
ffmike (author)
Tue Jan 06 19:42:53 -0800 2009
NZKoz (committer)
Tue Jan 06 19:42:53 -0800 2009
commit  19818eb0ea72cb99e98bd097d03ac8a69f204b6a
tree    a7638cb85ee720744c30ea4d3c327baf36614f77
parent  8736dd324117af90e0bf120cfd2074b06ccb45eb
...
23
24
25
 
26
27
28
...
37
38
39
40
41
42
43
44
45
46
 
 
 
 
 
 
47
48
49
...
59
60
61
 
62
63
64
...
23
24
25
26
27
28
29
...
38
39
40
 
 
 
 
 
 
 
41
42
43
44
45
46
47
48
49
...
59
60
61
62
63
64
65
0
@@ -23,6 +23,7 @@ cd "#{root_dir}/activesupport" do
0
   build_results[:activesupport] = system 'rake'
0
 end
0
 
0
+rm_f "#{root_dir}/activerecord/debug.log"
0
 cd "#{root_dir}/activerecord" do
0
   puts
0
   puts "[CruiseControl] Building ActiveRecord with MySQL"
0
@@ -37,13 +38,12 @@ cd "#{root_dir}/activerecord" do
0
   build_results[:activerecord_postgresql8] = system 'rake test_postgresql'
0
 end
0
 
0
-# Sqlite2 is disabled until tests are fixed
0
-# cd "#{root_dir}/activerecord" do
0
-#  puts
0
-#  puts "[CruiseControl] Building ActiveRecord with SQLite 2"
0
-#  puts
0
-#  build_results[:activerecord_sqlite] = system 'rake test_sqlite'
0
-# end
0
+cd "#{root_dir}/activerecord" do
0
+ puts
0
+ puts "[CruiseControl] Building ActiveRecord with SQLite 2"
0
+ puts
0
+ build_results[:activerecord_sqlite] = system 'rake test_sqlite'
0
+end
0
 
0
 cd "#{root_dir}/activerecord" do
0
   puts
0
@@ -59,6 +59,7 @@ cd "#{root_dir}/activemodel" do
0
   build_results[:activemodel] = system 'rake'
0
 end
0
 
0
+rm_f "#{root_dir}/activeresource/debug.log"
0
 cd "#{root_dir}/activeresource" do
0
   puts
0
   puts "[CruiseControl] Building ActiveResource"
...
54
55
56
 
 
57
58
59
60
 
 
61
62
63
...
101
102
103
 
 
 
 
 
 
 
104
105
106
...
54
55
56
57
58
59
60
61
62
63
64
65
66
67
...
105
106
107
108
109
110
111
112
113
114
115
116
117
0
@@ -54,10 +54,14 @@ ci      ALL=NOPASSWD: /usr/local/bin/geminstaller, /usr/local/bin/ruby, /usr/loc
0
 * Install/setup nginx:
0
 $ sudo aptitude install nginx
0
 $ sudo vi /etc/nginx/sites-available/default
0
+# Change server_name entry to match server name
0
+
0
 # comment two lines and add one to proxy to ccrb:
0
 #               root   /var/www/nginx-default;
0
 #               index  index.html index.htm;
0
                 proxy_pass      http://127.0.0.1:3333;
0
+
0
+# also comment default locations for /doc and /images
0
 $ sudo /etc/init.d/nginx start
0
 
0
 * Add project to cruise (It will still fail until everything is set up):
0
@@ -101,6 +105,13 @@ $ sudo aptitude install sqlite sqlite3 libsqlite-dev libsqlite3-dev
0
 $ sudo aptitude install postgresql postgresql-server-dev-8.3
0
 $ sudo su - postgres -c 'createuser -s ci'
0
 
0
+* Install fcgi libraries
0
+$ sudo apt-get install libfcgi-dev
0
+
0
+* Install memcached and start for first time (should start on reboot automatically)
0
+$ sudo aptitude install memcached
0
+$ sudo /etc/init.d/memcached start
0
+
0
 * Install and run GemInstaller to get all dependency gems
0
 $ sudo gem install geminstaller
0
 $ cd ~/.cruise/projects/rails/work
...
1
2
3
 
 
4
5
...
1
2
 
3
4
5
6
0
@@ -1,5 +1,6 @@
0
 Project.configure do |project|
0
  project.build_command = 'ruby ci/ci_build.rb'
0
- project.email_notifier.emails = ['thewoolleyman@gmail.com','michael@koziarski.com', 'david@loudthinking.com', 'jeremy@bitsweat.net', 'josh@joshpeek.com', 'pratiknaik@gmail.com']
0
+ project.email_notifier.emails = ['thewoolleyman@gmail.com']
0
+# project.email_notifier.emails = ['thewoolleyman@gmail.com','michael@koziarski.com', 'david@loudthinking.com', 'jeremy@bitsweat.net', 'josh@joshpeek.com', 'pratiknaik@gmail.com', 'wycats@gmail.com']
0
  project.email_notifier.from = 'thewoolleyman+railsci@gmail.com'
0
 end
...
2
3
4
 
 
 
 
5
6
 
7
8
9
10
11
 
 
12
13
14
...
2
3
4
5
6
7
8
9
 
10
11
12
13
14
15
16
17
18
19
20
0
@@ -2,13 +2,19 @@
0
 gems:
0
 - name: geminstaller
0
   version: >= 0.4.3
0
+- name: fcgi
0
+  version: >= 0.8.7
0
+- name: memcache-client
0
+  version: >= 1.5.0
0
 - name: mocha
0
-  version: >= 0.9.0
0
+  version: >= 0.9.4
0
 - name: mysql
0
   #version: >= 2.7
0
   version: = 2.7
0
 - name: postgres
0
   version: >= 0.7.9.2008.01.28
0
+- name: rack
0
+  version: '~> 0.9.0'
0
 - name: rake
0
   version: >= 0.8.1
0
 - name: sqlite-ruby

Comments