Skip to content

Commit

Permalink
Applying changes from fulcrum-agile#114 for jruby support.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleworsley committed Apr 20, 2013
1 parent 57a89b2 commit be491a5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ before_script:
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
script:
- "bundle exec rspec spec"
- "bundle exec rake --trace jasmine:ci"
14 changes: 12 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,21 @@ gem 'fastercsv', '1.5.3', :platforms => :ruby_18
# (using standard csv lib if ruby version is 1.9)

group :production do
gem 'pg'
platforms :ruby do
gem 'pg'
end
platforms :jruby do
gem 'activerecord-jdbcpostgresql-adapter'
end
end

group :development, :test do
gem 'sqlite3'
platforms :ruby do
gem 'sqlite3'
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
end
gem 'rspec-rails'
gem 'factory_girl_rails'
gem 'jasmine', '1.1.0'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ PLATFORMS
ruby

DEPENDENCIES
activerecord-jdbcpostgresql-adapter
activerecord-jdbcsqlite3-adapter
capybara
capybara-webkit
compass-rails
Expand Down

0 comments on commit be491a5

Please sign in to comment.