Skip to content

Commit e591564

Browse files
committed
Fix assets pipeline compilation step
* The assets group for the Gemfile was removed from Rails 4. Hence, we remove the group from the Gemfile * The Debian package for the sass gem is on version 3.4.23. Hence, we change this gem version in the Gemfile.lock
1 parent a634622 commit e591564

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

salt/obs.sls

+12
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ enable_obs_workers:
1212
- repl: 'ENABLED=1'
1313
- count: 1
1414

15+
patch1_obs_api_gemfile_lock:
16+
cmd.run:
17+
- name: sed -i 's/sass (3.4.22)/sass (3.4.23)/' /usr/share/obs/api/Gemfile.lock
18+
19+
patch2_obs_api_gemfile:
20+
cmd.run:
21+
- name: sed -i 's/^group :assets do$//' /usr/share/obs/api/Gemfile
22+
23+
patch3_obs_api_gemfile:
24+
cmd.run:
25+
- name: sed -i '93s/^end$//' /usr/share/obs/api/Gemfile
26+
1527
enable_apache_ssl_module:
1628
cmd.run:
1729
- name: a2enmod ssl

0 commit comments

Comments
 (0)