Created
January 6, 2013 11:34
-
-
Save JaysonMandani/4466664 to your computer and use it in GitHub Desktop.
RVM Bundler Integration with advance setup
This file contains hidden or 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 Bundler Integration | |
| $ rvm get head && rvm reload | |
| $ chmod +x $rvm_path/hooks/after_cd_bundler | |
| # Then run these: | |
| $ cd ~/rails_projects/sample_app | |
| $ bundle install --without production --binstubs=./bundler_stubs | |
| __________________________________________________________________ | |
| # Advance Setup for .gitignore | |
| # See http://help.github.com/ignore-files/ for more about ignoring files. | |
| # | |
| # If you find yourself ignoring temporary files generated by your text editor | |
| # or operating system, you probably want to add a global ignore instead: | |
| # git config --global core.excludesfile ~/.gitignore_global | |
| # Ignore bundler config | |
| /.bundle | |
| # Ignore the default SQLite database. | |
| /db/*.sqlite3 | |
| # Ignore all logfiles and tempfiles. | |
| /log/*.log | |
| /tmp | |
| # Ignore other unneeded files. | |
| doc/ | |
| *.swp | |
| *~ | |
| .project | |
| bundler_stubs/ | |
| ___________________________________________________________________ | |
| # Bundle install | |
| $ bundle install --binstubs=./bundler_stubs | |
| # Binstubs | |
| $ bundle --binstubs | |
| # This command creates all the necessary executables in the bin/ | |
| # directory of the application, so that you can now run the test | |
| # suite as follows: | |
| $ bin/rspec spec/ | |
| $ bin/rake db:migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment