Permalink
Browse files

Merge pull request #62 from tjmcs/tb/fix-gem-list-parse-error

Modified gem controller to support new gem.list file format (Fixes #61)
  • Loading branch information...
2 parents e421282 + 45845a1 commit 6d88420bb87b721c2b27842e6e994999d4933ed3 @slippycheeze slippycheeze committed Feb 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 razor_microkernel/rz_mk_gem_controller.rb
@@ -73,8 +73,8 @@ def installListedGems
response = Net::HTTP.get_response(uri)
case response
when Net::HTTPSuccess
- response.body.split.each { |gemNameFromFile|
- gemName = gemNameFromFile.chomp
+ response.body.split("\n").each { |gemNameFromFile|
+ gemName = gemNameFromFile.split[0].chomp
addToInstalledGems(gemName)
}
else

0 comments on commit 6d88420

Please sign in to comment.