Commit 1d898232 by Prem Sichanugrist

Remove pry from gemspec for JRuby compatibility

pry-debugger doesn't compile on JRuby, and we're really only using that
locally.
parent 2f404c9f
......@@ -2,6 +2,12 @@ source "https://rubygems.org"
gemspec
gem "jruby-openssl", :platform => :jruby
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
gem "sqlite3", :platform => :ruby
platform :jruby do
gem 'jruby-openssl'
gem 'activerecord-jdbcsqlite3-adapter'
end
platform :ruby do
gem 'pry'
gem 'pry-debugger'
end
......@@ -45,8 +45,6 @@ Gem::Specification.new do |s|
s.add_development_dependency('capybara', '= 2.0.3')
s.add_development_dependency('bundler')
s.add_development_dependency('fog', '~> 1.0')
s.add_development_dependency('pry')
s.add_development_dependency('pry-debugger')
s.add_development_dependency('launchy')
s.add_development_dependency('rake')
s.add_development_dependency('fakeweb')
......
......@@ -13,7 +13,12 @@ require 'shoulda/context'
require 'mime/types'
require 'pathname'
require 'ostruct'
require 'pry'
begin
require 'pry'
rescue LoadError
# Pry is not available, just ignore.
end
puts "Testing against version #{ActiveRecord::VERSION::STRING}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment