Skip to content

Commit

Permalink
Move 'pry' and 'awesome_print' to development group
Browse files Browse the repository at this point in the history
  • Loading branch information
june29 committed Mar 6, 2013
1 parent 04eb015 commit 327050c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 7 additions & 1 deletion 29hours.rb
@@ -1,7 +1,13 @@
require "yaml"
require "open-uri"
require "bundler"
Bundler.require

if ARGV.include?("--production")
Bundler.require
else
Bundler.require(:default, :development)
end

require_relative "lib/twenty_nine_hours"

path = ENV["SETTINGS_FILE_PATH"] || File.join(__dir__, "settings.yml")
Expand Down
6 changes: 4 additions & 2 deletions Gemfile
Expand Up @@ -6,5 +6,7 @@ gem "twitter-stream", require: "twitter/json_stream"
gem "yajl-ruby", require: "yajl"
gem "boxcar_api"

gem "pry"
gem "awesome_print"
group :development do
gem "pry"
gem "awesome_print"
end
2 changes: 1 addition & 1 deletion Procfile
@@ -1 +1 @@
worker: bundle exec ruby 29hours.rb
worker: bundle exec ruby 29hours.rb --production

0 comments on commit 327050c

Please sign in to comment.