Skip to content

Instantly share code, notes, and snippets.

@duckinator
Last active January 31, 2016 04:12
Show Gist options
  • Select an option

  • Save duckinator/664133265f1d6f1f6f17 to your computer and use it in GitHub Desktop.

Select an option

Save duckinator/664133265f1d6f1f6f17 to your computer and use it in GitHub Desktop.
source 'https://rubygems.org'
# Specify your gem's dependencies in rubygems-issue-1451-testcase.gemspec
gemspec
# coding: utf-8
Gem::Specification.new do |spec|
spec.name = "rubygems-issue-1451-testcase"
spec.version = '1.0'
spec.authors = ["A Person"]
spec.summary = 'A Summary'
spec.add_development_dependency 'bundler', '~> 1.10'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec'
spec.add_dependency 'activesupport'
spec.add_dependency 'aws-sdk-v1'
spec.bindir = '.'
spec.executables = 'test_json'
end
#!/bin/bash
ruby --version &&
gem --version &&
gem install json -v 1.8.2 &&
gem build *.gemspec 2>/dev/null &&
gem install *.gem &&
test_json
#!/usr/bin/env ruby
require 'json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment