File tree 3 files changed +22
-9
lines changed
3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
4
4
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
5
gem 'rails' , '4.2.4'
6
- gem 'pg'
6
+
7
7
# Use SCSS for stylesheets
8
8
gem 'sass-rails' , '~> 5.0'
9
9
# Use Uglifier as compressor for JavaScript assets
@@ -39,10 +39,15 @@ group :development, :test do
39
39
end
40
40
41
41
group :development do
42
+ gem 'sqlite3'
42
43
# Access an IRB console on exception pages or by using <%= console %> in views
43
44
gem 'web-console' , '~> 2.0'
44
45
45
46
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
46
47
gem 'spring'
47
48
end
48
49
50
+ group :production do
51
+ gem 'pg'
52
+ end
53
+
Original file line number Diff line number Diff line change 138
138
actionpack (>= 3.0 )
139
139
activesupport (>= 3.0 )
140
140
sprockets (>= 2.8 , < 4.0 )
141
+ sqlite3 (1.3.11 )
141
142
sshkit (1.7.1 )
142
143
colorize (>= 0.7.0 )
143
144
net-scp (>= 1.1.2 )
@@ -180,6 +181,7 @@ DEPENDENCIES
180
181
sass-rails (~> 5.0 )
181
182
sdoc (~> 0.4.0 )
182
183
spring
184
+ sqlite3
183
185
turbolinks
184
186
uglifier (>= 1.3.0 )
185
187
unicorn
Original file line number Diff line number Diff line change
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ default : &default
8
+ adapter : sqlite3
9
+
1
10
development :
2
- adapter : postgresql
3
- database : dockbit_demo_rails_development
4
- pool : 5
5
- timeout : 5000
11
+ << : *default
12
+ database : db/development.sqlite3
13
+
6
14
test :
7
- adapter : postgresql
8
- database : dockbit_demo_rails_test
9
- pool : 5
10
- timeout : 5000
15
+ << : *default
16
+ database : db/test.sqlite3
11
17
12
18
production :
13
19
adapter : postgresql
You can’t perform that action at this time.
0 commit comments