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" ...@@ -2,6 +2,12 @@ source "https://rubygems.org"
gemspec gemspec
gem "jruby-openssl", :platform => :jruby platform :jruby do
gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby gem 'jruby-openssl'
gem "sqlite3", :platform => :ruby gem 'activerecord-jdbcsqlite3-adapter'
end
platform :ruby do
gem 'pry'
gem 'pry-debugger'
end
...@@ -45,8 +45,6 @@ Gem::Specification.new do |s| ...@@ -45,8 +45,6 @@ Gem::Specification.new do |s|
s.add_development_dependency('capybara', '= 2.0.3') s.add_development_dependency('capybara', '= 2.0.3')
s.add_development_dependency('bundler') s.add_development_dependency('bundler')
s.add_development_dependency('fog', '~> 1.0') 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('launchy')
s.add_development_dependency('rake') s.add_development_dependency('rake')
s.add_development_dependency('fakeweb') s.add_development_dependency('fakeweb')
......
...@@ -13,7 +13,12 @@ require 'shoulda/context' ...@@ -13,7 +13,12 @@ require 'shoulda/context'
require 'mime/types' require 'mime/types'
require 'pathname' require 'pathname'
require 'ostruct' require 'ostruct'
require 'pry'
begin
require 'pry'
rescue LoadError
# Pry is not available, just ignore.
end
puts "Testing against version #{ActiveRecord::VERSION::STRING}" 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