Permalink
Browse files

update gems (rails 4.2), use rvm ruby 2.2, update sysadmin scripts

  • Loading branch information...
Raekye committed Feb 15, 2015
1 parent b995833 commit 55eccf4f0f95249f1d17962a0119c3bb0c64844c
@@ -1,6 +1,6 @@
language: ruby
rvm:
- 2.0.0
- 2.2.0
services:
- memcached
- redis
17 Gemfile
@@ -2,15 +2,15 @@ source 'https://rubygems.org'


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.6'
gem 'rails', '>= 4.2'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
gem 'sass-rails', '>= 5.0.1'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
gem 'coffee-rails', '>= 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

@@ -19,9 +19,9 @@ gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
#gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
gem 'jbuilder', '>= 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'sdoc', '>= 0.4.0', group: :doc

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
#gem 'spring', group: :development
@@ -39,18 +39,17 @@ gem 'sdoc', '~> 0.4.0', group: :doc
# gem 'debugger', group: [:development, :test]

# Custom
gem 'devise', '~> 3.4.1'
gem 'devise', '>= 3.4.1'
gem 'sidekiq'
gem 'bootstrap-sass', '~> 3.3.3'
gem 'bootstrap-sass', '>= 3.3.3'
gem 'annotate'
gem 'faraday'
gem 'faraday_middleware'
gem 'sinatra', :require => nil
gem 'font-awesome-sass'
gem 'simple_form', '~> 3.1.0.rc1'
gem 'simple_form', '>= 3.1.0.rc1'
gem 'sshkit'
gem 'dalli'
gem 'foreigner'
gem 'exception_notification'
group :development do
gem 'newrelic_rpm'
@@ -1,57 +1,66 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.1.6)
actionpack (= 4.1.6)
actionview (= 4.1.6)
actionmailer (4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
mail (~> 2.5, >= 2.5.4)
actionpack (4.1.6)
actionview (= 4.1.6)
activesupport (= 4.1.6)
rack (~> 1.5.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.0)
actionview (= 4.2.0)
activesupport (= 4.2.0)
rack (~> 1.6.0)
rack-test (~> 0.6.2)
actionview (4.1.6)
activesupport (= 4.1.6)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
actionview (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.6)
activesupport (= 4.1.6)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
activejob (4.2.0)
activesupport (= 4.2.0)
globalid (>= 0.3.0)
activemodel (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
activerecord (4.1.6)
activemodel (= 4.1.6)
activesupport (= 4.1.6)
arel (~> 5.0.0)
activesupport (4.1.6)
i18n (~> 0.6, >= 0.6.9)
activerecord (4.2.0)
activemodel (= 4.2.0)
activesupport (= 4.2.0)
arel (~> 6.0)
activesupport (4.2.0)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.6)
addressable (2.3.7)
annotate (2.6.5)
activerecord (>= 2.3.0)
rake (>= 0.8.7)
arel (5.0.1.20140414130214)
autoprefixer-rails (5.0.0.3)
arel (6.0.0)
autoprefixer-rails (5.1.5)
execjs
json
bcrypt (3.1.10)
bootstrap-sass (3.3.3)
autoprefixer-rails (>= 5.0.0.1)
sass (>= 3.2.19)
builder (3.2.2)
celluloid (0.15.2)
timers (~> 1.1.0)
coffee-rails (4.0.1)
celluloid (0.16.0)
timers (~> 4.0.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
colorize (0.7.3)
connection_pool (2.0.0)
coveralls (0.7.8)
coffee-script-source (1.9.0)
colorize (0.7.5)
connection_pool (2.1.1)
coveralls (0.7.9)
multi_json (~> 1.10)
rest-client (~> 1.7)
simplecov (~> 0.9.1)
@@ -72,85 +81,101 @@ GEM
exception_notification (4.0.1)
actionmailer (>= 3.0.4)
activesupport (>= 3.0.4)
execjs (2.2.2)
faraday (0.9.0)
execjs (2.3.0)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.9.1)
faraday (>= 0.7.4, < 0.10)
font-awesome-sass (4.2.1)
font-awesome-sass (4.3.1)
sass (~> 3.2)
foreigner (1.6.1)
activerecord (>= 3.0.0)
globalid (0.3.3)
activesupport (>= 4.1.0)
hike (1.2.3)
i18n (0.6.11)
jbuilder (2.2.2)
hitimes (1.2.2)
i18n (0.7.0)
jbuilder (2.2.7)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
mail (2.6.1)
json (1.8.2)
loofah (2.0.1)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.4.2)
minitest (5.4.2)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (5.5.1)
multi_json (1.10.1)
multipart-post (2.0.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
net-ssh (2.9.2)
netrc (0.10.2)
newrelic_rpm (3.9.5.251)
newrelic_rpm (3.9.9.275)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
orm_adapter (0.5.0)
pg (0.17.1)
rack (1.5.2)
pg (0.18.1)
rack (1.6.0)
rack-protection (1.5.3)
rack
rack-test (0.6.2)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.1.6)
actionmailer (= 4.1.6)
actionpack (= 4.1.6)
actionview (= 4.1.6)
activemodel (= 4.1.6)
activerecord (= 4.1.6)
activesupport (= 4.1.6)
rails (4.2.0)
actionmailer (= 4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
activemodel (= 4.2.0)
activerecord (= 4.2.0)
activesupport (= 4.2.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.6)
sprockets-rails (~> 2.0)
railties (4.1.6)
actionpack (= 4.1.6)
activesupport (= 4.1.6)
railties (= 4.2.0)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.1)
loofah (~> 2.0)
railties (4.2.0)
actionpack (= 4.2.0)
activesupport (= 4.2.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.2)
rdoc (4.1.2)
json (~> 1.4)
redis (3.1.0)
rake (10.4.2)
rdoc (4.2.0)
redis (3.2.1)
redis-namespace (1.5.1)
redis (~> 3.0, >= 3.0.4)
responders (1.1.2)
railties (>= 3.2, < 4.2)
responders (2.1.0)
railties (>= 4.2.0, < 5)
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
safe_yaml (1.0.4)
sass (3.2.19)
sass-rails (4.0.3)
sass (3.4.12)
sass-rails (5.0.1)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (~> 1.1)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
sidekiq (3.2.5)
celluloid (= 0.15.2)
connection_pool (>= 2.0.0)
sidekiq (3.3.2)
celluloid (>= 0.16.0)
connection_pool (>= 2.1.1)
json
redis (>= 3.0.6)
redis-namespace (>= 1.3.1)
simple_form (3.1.0.rc2)
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
simplecov (0.9.1)
@@ -162,29 +187,30 @@ GEM
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sprockets (2.11.0)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.0)
sprockets-rails (2.2.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sshkit (1.5.1)
colorize
sshkit (1.6.1)
colorize (>= 0.7.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
term-ansicolor (1.3.0)
tins (~> 1.0)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
timers (1.1.0)
tins (1.3.3)
timers (4.0.1)
hitimes
tins (1.3.4)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.5.3)
uglifier (2.7.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
warden (1.2.3)
@@ -198,25 +224,24 @@ PLATFORMS

DEPENDENCIES
annotate
bootstrap-sass (~> 3.3.3)
coffee-rails (~> 4.0.0)
bootstrap-sass (>= 3.3.3)
coffee-rails (>= 4.0.0)
coveralls
dalli
devise (~> 3.4.1)
devise (>= 3.4.1)
exception_notification
faraday
faraday_middleware
font-awesome-sass
foreigner
jbuilder (~> 2.0)
jbuilder (>= 2.0)
jquery-rails
newrelic_rpm
pg
rails (= 4.1.6)
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
rails (>= 4.2)
sass-rails (>= 5.0.1)
sdoc (>= 0.4.0)
sidekiq
simple_form (~> 3.1.0.rc1)
simple_form (>= 3.1.0.rc1)
simplecov
sinatra
sshkit
@@ -23,8 +23,10 @@ You should have a Unix/Linux system.
The following instructions were made for Fedora 20, but the steps should be similar on other distributions.

1. Install postgresql and development headers and libraries, memcached, redis, and nodejs: `(sudo) yum install postgresql-server postgresql-contrib postgresql-devel memcached redis nodejs`
1. Install Ruby 2.0.0+: `(sudo) yum install ruby`. You can also use RVM
1. Install [RVM][13]. Read the instructions on their page (will be up to date)
1. Install Ruby 2.2.0+: `rvm install 2.2`, and optionally `rvm use --default 2.2`. You may need to install extra packages for compiling ruby (it will tell you)
1. Install other things needed for gems: `(sudo) yum install gcc`
1. Check that `ruby -v` gives you version 2.2. If not, log out and back in (on the computer) to have it reread your `~/.bash_profile`
1. Install Bundler: `gem install bundler`
1. Install gem dependencies: `bundle install`
1. Run `cp env.sh.template env.sh`
@@ -186,3 +188,4 @@ Example: `TEST_DOCKER=true ./tests.sh`
[10]: https://github.com/Gamocosm/gamocosm-minecraft-flavours
[11]: https://github.com/Gamocosm/Gamocosm/wiki/Installing-different-versions-of-Minecraft
[12]: https://github.com/KayoticSully
[13]: https://rvm.io
Oops, something went wrong.

0 comments on commit 55eccf4

Please sign in to comment.