We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a549d6 commit 8dc3cc0Copy full SHA for 8dc3cc0
Rakefile
@@ -25,7 +25,7 @@ task 'update' do
25
26
core_file = File.read("#{origin_src_path}/bootstrap-wysihtml5.js")
27
original_string = /stylesheets: \[".\/lib\/css\/wysiwyg-color.css"\]/
28
- objective_string = 'stylesheets: ["<%= Rails.configuration.assets.prefix + \'/bootstrap-wysihtml5/wysiwyg-color.css\' %>"]'
+ objective_string = "stylesheets: [<%= stylesheet_path('bootstrap-wysihtml5/wysiwyg-color.css') %>]"
29
30
replaced = core_file.gsub(original_string, objective_string)
31
@@ -50,4 +50,4 @@ task :publish => :build do
50
system("git tag -a #{version} -m 'Release #{version}' ") unless tags.include?(version)
51
system("gem push bootstrap-wysihtml5-rails-#{version}.gem")
52
system("git push --follow-tags")
53
-end
+end
0 commit comments