templates/lurker_app.rb in lurker-0.5.4 vs templates/lurker_app.rb in lurker-0.5.5

- old
+ new

@@ -3,20 +3,16 @@ gem 'database_cleaner' gem 'simplecov', '~> 0.7.1', require: false gem 'pry-debugger', require: false gem 'pry-stack_explorer', require: false gem 'unicorn', group: :production +gem 'therubyracer', group: :production append_to_file 'Gemfile' do <<-CODE - if File.exists?(File.expand_path('../../../lurker.rb', __FILE__)) - # run within specs - gem 'lurker', '~> 0', path: "#{File.expand_path('../../..', __FILE__)}" - else - # run at heroku - gem 'lurker', github: 'razum2um/lurker', branch: 'master' - end + # new line above is important + gem 'lurker', github: 'razum2um/lurker', branch: 'master' CODE end file 'config/unicorn.rb' do <<-CODE