My favorites | Sign in
Project Logo
             
Details: Show all Hide all

Last 30 days

  • Nov 27, 2009
    WhosUsingBundleFu Wiki page commented on by ul.gnaw   -   http://www.roninapp.com
    http://www.roninapp.com

Earlier this year

  • Aug 21, 2009
    WhosUsingBundleFu Wiki page commented on by diinodaniel   -   http://www.diino.com
    http://www.diino.com
  • Aug 07, 2009
    WhosUsingBundleFu Wiki page commented on by jdewey2   -   http://yp.com
    http://yp.com
  • Jul 13, 2009
    issue 12 (Simply does not work) commented on by fangiotophia   -   Awesome! Thanks for the info!
    Awesome! Thanks for the info!
  • Jul 13, 2009
    issue 12 (Simply does not work) commented on by nbertram   -   I ran into this same problem. If you want to include two bundles simply give each bundle a different name. Eg. - bundle :name => 'somecss' do Some css ---- Other code here ---- - bundle :name => 'somejs' do Some js files
    I ran into this same problem. If you want to include two bundles simply give each bundle a different name. Eg. - bundle :name => 'somecss' do Some css ---- Other code here ---- - bundle :name => 'somejs' do Some js files
  • Jul 10, 2009
    WhosUsingBundleFu Wiki page commented on by martin.sarsale   -   http://www.sumavisos.com.ar
    http://www.sumavisos.com.ar
  • Jul 10, 2009
    issue 16 (incompatibility with ruby 1.9) reported by martin.sarsale   -   in ruby 1.9, "string"[0] == "s" (before it was "s".ord). quick fix: Index: vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb =================================================================== --- vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb (revision 2096) +++ vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb (working copy) @@ -47,7 +47,7 @@ return false if !c || c == EOF return ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || c == '_' || c == '$' || - c == '\\' || c[0] > 126) + c == '\\' || c[0].ord > 126) end # get -- return the next character from input. Watch out for lookahead. If @@ -214,4 +214,4 @@ js_minimizer.output.string end -end \ No newline at end of file +end
    in ruby 1.9, "string"[0] == "s" (before it was "s".ord). quick fix: Index: vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb =================================================================== --- vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb (revision 2096) +++ vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb (working copy) @@ -47,7 +47,7 @@ return false if !c || c == EOF return ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || c == '_' || c == '$' || - c == '\\' || c[0] > 126) + c == '\\' || c[0].ord > 126) end # get -- return the next character from input. Watch out for lookahead. If @@ -214,4 +214,4 @@ js_minimizer.output.string end -end \ No newline at end of file +end
  • Jun 05, 2009
    issue 12 (Simply does not work) commented on by fangiotophia   -   it appears to not work if you attempt to call 'bundle' twice. If you wish to split your css and js, you have to choose which one you would rather have bundled (as far as I can tell).
    it appears to not work if you attempt to call 'bundle' twice. If you wish to split your css and js, you have to choose which one you would rather have bundled (as far as I can tell).
  • Jun 04, 2009
    issue 12 (Simply does not work) commented on by grosser.michael   -   -stylesheets +javascripts
    -stylesheets +javascripts
  • Jun 04, 2009
    issue 12 (Simply does not work) commented on by grosser.michael   -   so it wont work if i put my stylesheets at the top !?
    so it wont work if i put my stylesheets at the top !?
  • Jun 04, 2009
    issue 12 (Simply does not work) commented on by fangiotophia   -   This can be accomplished if you are attempting to follow general guidelines by putting your JavaScript files at the bottom and attempting to use 'bundle do' around both stylesheets and JavaScript. For example: <% bundle do %> <%= stylesheet_link_tag 'application' %> <% end %> <<HTML CODE>> <% bundle do %> <%= javascript_include_tag :defaults %> <% end %>
    This can be accomplished if you are attempting to follow general guidelines by putting your JavaScript files at the bottom and attempting to use 'bundle do' around both stylesheets and JavaScript. For example: <% bundle do %> <%= stylesheet_link_tag 'application' %> <% end %> <<HTML CODE>> <% bundle do %> <%= javascript_include_tag :defaults %> <% end %>
  • Apr 15, 2009
    issue 11 (Should use the cssmin gem, if available) commented on by narphorium   -   Thanks, this was exactly what I was looking for. This should really be part of the base version of bundle-fu.
    Thanks, this was exactly what I was looking for. This should really be part of the base version of bundle-fu.
  • Jan 14, 2009
    issue 12 (Simply does not work) commented on by grosser.michael   -   same error again, now js seems to work, but stylesheets/cache/bundle.filelist contains: ^D^H[^@ <% bundle do %> <%= stylesheet_link_tag 'form' %> <% end %> -> <link href="/stylesheets/cache/bundle.css?1231928265" media="screen" rel="stylesheet" type="text/css" /> but this file does not even exist..
    same error again, now js seems to work, but stylesheets/cache/bundle.filelist contains: ^D^H[^@ <% bundle do %> <%= stylesheet_link_tag 'form' %> <% end %> -> <link href="/stylesheets/cache/bundle.css?1231928265" media="screen" rel="stylesheet" type="text/css" /> but this file does not even exist..
  • Jan 11, 2009
    issue 6 (Support for rails app prefixes in CSS files) commented on by adrian.bridgett   -   Just what I was after. BTW according to: http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html ActionController::AbstractRequest.relative_url_root has been renamed to ActionController::Base.relative_url_root
    Just what I was after. BTW according to: http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html ActionController::AbstractRequest.relative_url_root has been renamed to ActionController::Base.relative_url_root
  • Jan 11, 2009
    issue 3 (bundle-fu ignores relative_root_url) commented on by adrian.bridgett   -   According to: http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html ActionController::AbstractRequest.relative_url_root has been renamed to ActionController::Base.relative_url_root Once I did that it worked a treat! BTW it would be nice if it printed out the details in the FILE READ ERROR (like what file!) Smells a bit of Java otherwise :-)
    According to: http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html ActionController::AbstractRequest.relative_url_root has been renamed to ActionController::Base.relative_url_root Once I did that it worked a treat! BTW it would be nice if it printed out the details in the FILE READ ERROR (like what file!) Smells a bit of Java otherwise :-)

Older

  • Dec 13, 2008
    issue 15 (CSSUrlRewriter.rewrite_urls doesn't rewrite imports) commented on by guillaume.dufloux   -   Attached is the associated path: bundle_fu_css_rewrite_import_urls.patch cp bundle_fu_css_rewrite_import_urls.patch bundle_fu/ patch -p0 < bundle_fu_css_rewrite_import_urls.patch Regards, Guillaume
    Attached is the associated path: bundle_fu_css_rewrite_import_urls.patch cp bundle_fu_css_rewrite_import_urls.patch bundle_fu/ patch -p0 < bundle_fu_css_rewrite_import_urls.patch Regards, Guillaume
  • Dec 13, 2008
    issue 15 (CSSUrlRewriter.rewrite_urls doesn't rewrite imports) reported by guillaume.dufloux   -   What steps will reproduce the problem? 1. consider stylesheets are stored into /styles/{type} for separated styles reasons 2. create a standard css file in /styles/standard/main.css 3. create a custom css file in /styles/custom/main.css 4. in the custom one, add something like: @import "../standard/main.css"; What is the expected output? What do you see instead? I would expect a rewrite like: @import "/styles/standard/main.css"; Instead, i see no changes: @import "../standard/main.css"; What version of the product are you using? On what operating system? 1.2.2 Please provide any additional information below. Could be fixed by adding a gsub to CSSUrlRewriter.rewrite_urls class method: content.gsub!(/\@import *\"([^\"]+)\"/) { "@import \"#{rewrite_relative_path(filename, $1)}\"" }
    What steps will reproduce the problem? 1. consider stylesheets are stored into /styles/{type} for separated styles reasons 2. create a standard css file in /styles/standard/main.css 3. create a custom css file in /styles/custom/main.css 4. in the custom one, add something like: @import "../standard/main.css"; What is the expected output? What do you see instead? I would expect a rewrite like: @import "/styles/standard/main.css"; Instead, i see no changes: @import "../standard/main.css"; What version of the product are you using? On what operating system? 1.2.2 Please provide any additional information below. Could be fixed by adding a gsub to CSSUrlRewriter.rewrite_urls class method: content.gsub!(/\@import *\"([^\"]+)\"/) { "@import \"#{rewrite_relative_path(filename, $1)}\"" }
  • Dec 02, 2008
    issue 14 (I use bundle_fu to collect my css files, but sometimes the c...) reported by zusocfc   -   What steps will reproduce the problem? 1. For example: # In Controller: @css_files = "input" # In View: bundle_fu do stylesheet_link_tag "global", "layout" sytlesheet_link_tag @css_files if @css_files end 2. Reload or into a page. 3. It could not load automatic, I must reload the page again.
    What steps will reproduce the problem? 1. For example: # In Controller: @css_files = "input" # In View: bundle_fu do stylesheet_link_tag "global", "layout" sytlesheet_link_tag @css_files if @css_files end 2. Reload or into a page. 3. It could not load automatic, I must reload the page again.
  • Dec 02, 2008
    issue 13 (FILE READ ERROR with Passenger using RailsBaseURI) reported by darren.case1   -   What steps will reproduce the problem? Serving a rails app with Passenger and the RailsBaseURI set to a subdirectory (ie /new-site) What is the expected output? What do you see instead? Expect to get bundled.js, instead get a /* FILE READ ERROR *//* -- /test/javascripts/application.js*/ for each javascript in the bundle block. What version of the product are you using? On what operating system? Installed from github on 12/2/08. Running CentOS 5, with Rails 2.1.1, Passenger 2.0.3, Apache 2.2. Please provide any additional information below. I am not getting the error on the same app being served without the RailsBaseURI set to a subdirectory.
    What steps will reproduce the problem? Serving a rails app with Passenger and the RailsBaseURI set to a subdirectory (ie /new-site) What is the expected output? What do you see instead? Expect to get bundled.js, instead get a /* FILE READ ERROR *//* -- /test/javascripts/application.js*/ for each javascript in the bundle block. What version of the product are you using? On what operating system? Installed from github on 12/2/08. Running CentOS 5, with Rails 2.1.1, Passenger 2.0.3, Apache 2.2. Please provide any additional information below. I am not getting the error on the same app being served without the RailsBaseURI set to a subdirectory.
  • Sep 27, 2008
    issue 2 (asset_host is not supported) commented on by jean-mar...@m2i3.com   -   justin.h.chen's solution has the benefit that it'll work when using a CDN letting your stylesheets and javascripts being distributed by the network instead of your server.
    justin.h.chen's solution has the benefit that it'll work when using a CDN letting your stylesheets and javascripts being distributed by the network instead of your server.
  • Jul 27, 2008
    issue 12 (Simply does not work) reported by grosser.michael   -   What steps will reproduce the problem? 1. install 2. <%bundel do%> js <%end> 3. <h1>Routing Error</h1> <p><pre>No route matches &quot;/stylesheets/cache/bundle.css&quot; with {:method=&gt;:get}</pre></p> 4. public/javascripts only contains cache/bundle.css.filelist which is empty What version of the product are you using? On what operating system? Ubuntu rails 2.1 Please provide any additional information below.
    What steps will reproduce the problem? 1. install 2. <%bundel do%> js <%end> 3. <h1>Routing Error</h1> <p><pre>No route matches &quot;/stylesheets/cache/bundle.css&quot; with {:method=&gt;:get}</pre></p> 4. public/javascripts only contains cache/bundle.css.filelist which is empty What version of the product are you using? On what operating system? Ubuntu rails 2.1 Please provide any additional information below.
 
Hosted by Google Code