Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Fix a couple bugs in bootstrapping development #5

Closed
Closed
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
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ end
# Load the extra rake tasks
#------------------------------------------------------------------------------
$: << "." unless $:.include?(".")
load 'tasks/kestrel.rake'
begin
load 'tasks/kestrel.rake'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was trying to require the json gem which couldn't be found in my environment when I tried to run rake develop:using_bundler

rescue LoadError
end

#------------------------------------------------------------------------------
# Rakefile Support - This is all the guts and utility methods that are
Expand Down
4 changes: 2 additions & 2 deletions tasks/kestrel.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace :kestrel do
require 'uri'
require 'net/http'

url = ::URI.parse("http://robey.github.com/kestrel/download/kestrel-#{KJess::Spec::KestrelServer.erver.version}.zip")
url = ::URI.parse("http://robey.github.com/kestrel/download/kestrel-#{KJess::Spec::KestrelServer.version}.zip")

puts "downloading #{url.to_s} to #{KJess::Spec::KestrelServer.zip} ..."
File.open( KJess::Spec::KestrelServer.erver.zip, "wb+") do |f|
File.open( KJess::Spec::KestrelServer.zip, "wb+") do |f|
res = Net::HTTP.get_response( url )
f.write( res.body )
end
Expand Down