aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-09-08 11:54:07 -0500
committerBrandon Mathis <brandon@imathis.com>2011-09-08 11:54:18 -0500
commit7c1c24f899ba55f01f4152e37fbd1b8ae044c1b3 (patch)
tree11125e36aae7941e5341c1c74bde2a60ef4f4045
parent7e75d2f65490c43e4ae0ef97c1cf6fedac4b76c6 (diff)
downloadmy_new_personal_website-7c1c24f899ba55f01f4152e37fbd1b8ae044c1b3.tar.xz
my_new_personal_website-7c1c24f899ba55f01f4152e37fbd1b8ae044c1b3.zip
moved from Posix::Span to Process.span, fixing #46
Diffstat (limited to '')
-rw-r--r--Rakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index 3d49fce3..5be79101 100644
--- a/Rakefile
+++ b/Rakefile
@@ -56,8 +56,8 @@ desc "Watch the site and regenerate when it changes"
task :watch do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
puts "Starting to watch source with Jekyll and Compass."
- jekyllPid = spawn("jekyll --auto")
- compassPid = spawn("compass watch")
+ jekyllPid = Process.spawn("jekyll --auto")
+ compassPid = Process.spawn("compass watch")
trap("INT") {
Process.kill(9, jekyllPid)
@@ -72,9 +72,9 @@ desc "preview the site in a web browser"
task :preview do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
puts "Starting to watch source with Jekyll and Compass. Starting Rack on port #{server_port}"
- jekyllPid = spawn("jekyll --auto")
- compassPid = spawn("compass watch")
- rackupPid = spawn("rackup --port #{server_port}")
+ jekyllPid = Process.spawn("jekyll --auto")
+ compassPid = Process.spawn("compass watch")
+ rackupPid = Process.spawn("rackup --port #{server_port}")
trap("INT") {
Process.kill(9, jekyllPid)