Skip to content

Commit

Permalink
use "heroku run console" for cedar
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Jul 14, 2011
1 parent a6a63b4 commit 759ed87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play/popular_repos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class RateLimitExceeded < Exception; end

slugs = `heroku console 'Repository.order(:url).all.each { |r| puts r.slug } && nil' --remote production`.gsub(/\nnil$/, '').split("\n")
slugs = `heroku run console 'Repository.order(:url).all.each { |r| puts r.slug } && nil' --remote production`.gsub(/\nnil$/, '').split("\n")
data = slugs.map do |slug|
begin
print "fetching stats for #{slug} ... "
Expand Down

0 comments on commit 759ed87

Please sign in to comment.