sprockets-rails 2.0.0.rc2 → 2.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sprockets/rails/task.rb +2 -0
  2. metadata +2 -2
@@ -12,6 +12,8 @@ module Sprockets
12
12
  # Override this task change the loaded dependencies
13
13
  desc "Load asset compile environment"
14
14
  task :environment do
15
+ # Load gems in assets group of Gemfile
16
+ Bundler.require(:assets) if defined?(Bundler)
15
17
  # Load full Rails environment by default
16
18
  Rake::Task['environment'].invoke
17
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
4
+ version: 2.0.0.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets