Skip to content

Commit

Permalink
gemspec supports jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Pereira committed Feb 7, 2013
1 parent 00cb7d1 commit f94ef39
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions metasploit_data_models.gemspec
Expand Up @@ -18,9 +18,13 @@ Gem::Specification.new do |s|

# ---- Dependencies ----
s.add_development_dependency 'rake'

if RUBY_PLATFORM !~ /java/
s.add_runtime_dependency 'pg'
else
s.add_runtime_dependency 'jdbc-postgres'
s.add_runtime_dependency 'activerecord-jdbcpostgresql-adapter'
end
s.add_runtime_dependency 'activerecord', '>= 3.2.10'
s.add_runtime_dependency 'activesupport'
s.add_runtime_dependency 'pg'
s.add_runtime_dependency 'pry'
end

0 comments on commit f94ef39

Please sign in to comment.