Install Gems without ri, rdoc documentation

These days it is not necessary to have gem documentation installed locally. This unnecessarily increases installation time. Unless you have specific requirement for locally available documentation, you can skip the installation of rdoc and ri documentation when installing gems. Just add this to your home directory in <home_directory>/.gemrc file gem: –no-document # skip installation of all documentation […]

Read more "Install Gems without ri, rdoc documentation"

Running Rails Tests

This post is only for helping me remember the command that lets me run single test file in rails for rails test framework To run all the test methods from the test case, use $ ruby -Itest test/unit/post_test.rb To run a single test method in the test case, just add the method name $ ruby […]

Read more "Running Rails Tests"