-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
31 lines (26 loc) · 905 Bytes
/
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
source 'https://rubygems.org'
if ENV['RAILS_SOURCE']
gemspec :path => ENV['RAILS_SOURCE']
else
# If not present, find newest version of latest supported series
version = ENV['RAILS_VERSION'] || begin
require 'net/http'
require 'yaml'
spec = eval(File.read('activerecord-fdbsql-adapter.gemspec'))
r = spec.dependencies.detect{ |d|d.name == 'activerecord' }.requirement
uri = URI.parse "http://rubygems.org/api/v1/versions/activerecord.yaml"
latest = YAML.load(Net::HTTP.get(uri)).find { |d| r.satisfied_by? Gem::Version.create d['number'] }
latest['number']
end
gem 'rails', :git => "git://github.com/rails/rails.git", :tag => "v#{version}"
end
group :pg do
gem 'pg', '~> 0.11'
end
group :development do
gem 'rake', '~> 10.1.0'
# For AR
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'mocha', '~> 0.13.0', :require => false
gem 'nokogiri', '>= 1.4.5', '< 1.6'
end