forked from publify/publify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
48 lines (44 loc) · 1.22 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
env = ENV["RAILS_ENV"] || 'development'
dbfile = File.expand_path("../config/database.yml", __FILE__)
unless File.exists?(dbfile)
raise "You need to configure config/database.yml first"
else
conf = YAML.load(File.read(dbfile))
adapter = conf[env]['adapter']
raise "You need define an adapter in your database.yml" if adapter == '' || adapter.nil?
case adapter
when 'sqlite3'
gem 'sqlite3'
when 'postgresql'
gem 'pg'
when 'mysql'
gem 'sam-mysql-ruby'
else
raise "Don't know what gem to use for adapter #{adapter}"
end
end
source :rubygems
gem 'rails', '3.0.10'
gem 'require_relative'
gem 'htmlentities'
gem 'json'
gem 'bluecloth', '>= 2.0.5'
gem 'coderay', '~> 0.9'
gem 'kaminari'
gem 'RedCloth', '~> 4.2.8'
gem 'addressable', '~> 2.1.0', :require => 'addressable/uri'
gem 'mini_magick', '1.3.3', :require => 'mini_magick'
gem 'uuidtools', '~>2.1.1'
gem 'flickraw-cached'
gem 'rubypants', '~> 0.2.0'
gem 'rake', '>= 0.9.2'
gem 'acts_as_list'
gem 'acts_as_tree_rails3'
gem 'recaptcha', :require => 'recaptcha/rails', :branch => 'rails3'
group :development, :test do
gem 'ruby-debug19'
gem 'factory_girl', '2.2.0'
gem 'webrat'
gem 'rspec-rails', '>= 2.0.0.beta.20'
gem 'simplecov', :require => false
end