This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed broken ruby code in rake tasks

  • Loading branch information...
dkubb committed Sep 5, 2009
1 parent 987a219 commit 052bdabe338191e0d9ab44c3e6930b7cd48c32a0
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''

0 comments on commit 052bdab

Please sign in to comment.