Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake precompile doesn't include bootstrap javascript (or css) with rails 3.1.3 #5

Open
derekatkins opened this issue Oct 24, 2012 · 0 comments

Comments

@derekatkins
Copy link

I checked out current master, changed the Gemfile to use rails 3.1.3 (to match my project), removed Gemfile.lock and reran bundle install. Then I ran "rails server" and did wget http://localhost:3000/assets/applicaiton.js to see it generate the code and download the file. All good.

Then I ran a "rake assets:precompile" (I had to comment out the css changes in environments/production.rb first due to n error, 'twitter/bootstrap/labels.less' wasn't found. ) and I compared the generated application.js to the compiled version. Surprisingly they were not the same.

-rw-rw-r--. 1 warlord warlord 341469 Oct 24 14:21 /tmp/application.js
-rw-rw-r--. 1 warlord warlord 125513 Oct 24 14:21 public/assets/application.js

The public/assets/application.js is missing all the twitter/bootstrap javascript. I can upload the two files if you want to see them, or uploading a diff if you prefer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant