Commit 490f532
Changed files (4)
bin/ci.sh
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
-bin/bundle exec rake default
-RAILS_ENV=production bin/rake assets:precompile
+bin/rake default
bin/rake package:build
lib/tasks/package.rake
@@ -1,6 +1,6 @@
namespace :package do
desc "create a build package"
- task build: :environment do
+ task :build => "assets:precompile" do
require "rake/packagetask"
Rake::PackageTask.new("stronglifters", :noversion) do |p|
Gemfile
@@ -13,7 +13,7 @@ gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
+gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
Gemfile.lock
@@ -139,6 +139,7 @@ GEM
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.2)
+ libv8 (3.16.14.7)
loofah (2.0.1)
nokogiri (>= 1.5.9)
mail (2.6.3)
@@ -202,6 +203,7 @@ GEM
thor (>= 0.18.1, < 2.0)
rake (10.4.2)
rdoc (4.2.0)
+ ref (1.0.5)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
@@ -262,6 +264,9 @@ GEM
term-ansicolor (1.3.0)
tins (~> 1.0)
terminal-table (1.4.5)
+ therubyracer (0.12.2)
+ libv8 (~> 3.16.14.0)
+ ref
thor (0.19.1)
thread (0.2.0)
thread_safe (0.3.5)
@@ -330,6 +335,7 @@ DEPENDENCIES
spring-commands-teaspoon
sqlite3
teaspoon
+ therubyracer
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)