* adding resque gem to Gemfile

This commit is contained in:
Seth Call 2014-01-08 22:55:44 +00:00
parent 519650e265
commit 83409e9da8
5 changed files with 25 additions and 4 deletions

View File

@ -48,7 +48,7 @@ gem 'aasm', '3.0.16'
gem 'postgres-copy', '0.6.0'
gem 'aws-sdk', '1.29.1'
gem 'bugsnag'
gem 'resque'
gem 'eventmachine', '1.0.3'
gem 'amqp', '0.9.8'

View File

@ -24,7 +24,7 @@ gem 'carrierwave'
gem 'aasm', '3.0.16'
gem 'devise', '>= 1.1.2'
gem 'postgres-copy'
gem 'resque'
gem 'geokit-rails'
gem 'postgres_ext'

View File

@ -1,2 +1 @@
test:
redis: localhost:6379
test: localhost:6379

View File

@ -13,6 +13,27 @@ def app_config
def aws_secret_access_key
'h0V0ffr3JOp/UtgaGrRfAk25KHNiO9gm8Pj9m6v3'
end
def audiomixer_path
# you can specify full path to audiomixer with AUDIOMIXER_PATH env variable...
# or we check for audiomixer path in the user's workspace
# and finally the debian install path
ENV['AUDIOMIXER_PATH'] || audiomixer_workspace_path || "/var/lib/audiomixer/audiomixer/audiomixerapp"
end
private
def audiomixer_workspace_path
if ENV['WORKSPACE']
dev_path = ENV['WORKSPACE']
else
dev_path = ENV['HOME']
end
dev_path = "#{dev_path}/audiomixer/audiomixer/audiomixerapp"
dev_path if File.exist? dev_path
end
end
return klass.new

View File

@ -58,6 +58,7 @@ gem 'postgres-copy'
gem 'geokit-rails'
gem 'postgres_ext'
gem 'haml-rails'
gem 'resque'
gem 'quiet_assets', :group => :development