2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

travis likes old bundler

This commit is contained in:
Sam Saffron 2015-04-16 16:13:48 +10:00
parent 9baebcaf03
commit 1adda31cbc
3 changed files with 32 additions and 6 deletions

View file

@ -250,6 +250,8 @@ begin
gem 'memory_profiler', require: false, platform: [:mri_21, :mri_22] gem 'memory_profiler', require: false, platform: [:mri_21, :mri_22]
rescue Bundler::GemfileError rescue Bundler::GemfileError
STDERR.puts "You are running an old version of bundler, please upgrade bundler ASAP, if you are using Discourse docker, rebuild your container." STDERR.puts "You are running an old version of bundler, please upgrade bundler ASAP, if you are using Discourse docker, rebuild your container."
gem 'stackprof', require: false, platform: [:mri_21]
gem 'memory_profiler', require: false, platform: [:mri_21]
end end
gem 'rmmseg-cpp', require: false gem 'rmmseg-cpp', require: false

View file

@ -1,4 +1,16 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
APP_PATH = File.expand_path('../../config/application', __FILE__) #
require_relative '../config/boot' # This file was generated by Bundler.
require 'rails/commands' #
# The application 'rails' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('railties', 'rails')

View file

@ -1,4 +1,16 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
require_relative '../config/boot' #
require 'rake' # This file was generated by Bundler.
Rake.application.run #
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('rake', 'rake')