Created
January 16, 2015 13:06
-
-
Save CJYate/23183647e23386d4800f to your computer and use it in GitHub Desktop.
Bootstrap-sprockets.js can't be found
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "bootstrap-sprockets"; | |
@import "bootstrap"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//= require jquery | |
//= require jquery_ujs | |
//= require turbolinks | |
//= require bootstrap-sprockets | |
//= require_tree . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'autoprefixer-rails', '~> 5.0.0' | |
gem 'bootstrap-sass', '~> 3.3.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm use 2.1.5@rails415test --create | |
gem install rails --version 4.1.5 | |
rm -rf test_app | |
rails new test_app | |
cp bootstrapApplication.css test_app/app/assets/stylesheets/application.css.scss | |
cp bootstrapApplication.js test_app/app/assets/javascripts/application.js | |
rm test_app/app/assets/stylesheets/application.css | |
cat bootstrapstuff >> test_app/Gemfile | |
cd test_app/ | |
bundle install | |
rails g scaffold hello msg:string | |
rake db:migrate | |
bundle install | |
rails s | |
# in browser or another shell: | |
# wget 0.0.0.0:3000/hellos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm install 2.1.5 | |
rvm 2.1.5 | |
rvm gemset create refineryEdgeTest | |
gem install rails --version 4.1.5 | |
gem install execjs | |
rm -rf refinery_app | |
rails new refinery_app -m http://refinerycms.com/t/edge | |
cp bootstrapApplication.css refinery_app/app/assets/stylesheets/application.css.scss | |
cp bootstrapApplication.js refinery_app/app/assets/javascripts/application.js | |
rm refinery_app/app/assets/stylesheets/application.css | |
cat bootstrapstuff >> refinery_app/Gemfile | |
cd refinery_app/ | |
bundle install | |
rails g scaffold hello msg:string | |
rake db:migrate | |
bundle install | |
rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment