Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jruby-jsvc to run with new jruby and rubygems 2.x #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source :rubygems
source 'https://rubygems.org'

gem 'erubis'

gem 'bundler'
group :test do
gem 'POpen4'
gem 'rspec'
Expand Down
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'date'
require 'rubygems'
require 'bundler'
require 'rubygems/package'

desc "creates a rubygem"
task :build => ['clean', 'target/gem/lib/jruby-jsvc.rb'] do
Expand All @@ -16,6 +18,7 @@ task :build => ['clean', 'target/gem/lib/jruby-jsvc.rb'] do
gemspec = Gem::Specification.new do |s|
s.name = "jruby-jsvc"
s.version = version
s.author = 'nicobrevin'
s.date = Date.today.to_s
s.description = "Use jsvc to run a jruby app as an init.d style daemon"
s.summary = "Use jsvc to run a jruby app as an init.d style daemon"
Expand All @@ -26,7 +29,7 @@ task :build => ['clean', 'target/gem/lib/jruby-jsvc.rb'] do
s.files = FileList['./**/*'].exclude('*.gem')
end

Gem::Builder.new(gemspec).build
Gem::Package.build(gemspec)
mv FileList['*.gem'], '..'
end
end
Expand Down