How to Use RVM and POW with Ruby 2.0.0
In your project's root directory add a .ruby-version file and add the ruby version to the file
Next source RVM in the .powrc file, also in your project's root directory.
rvm use `cat .ruby-versio...
Running Gem Server to View Docs for Ruby Libraries on Localhost
will boot up documentation on port 8808 by default pass it the -p flag followed by the port number to change.
gem server -p3000
Defining Application Constants for Ruby on Rails Application
The best place to keep application constants which are environment specific is in config/environments directory. For instance...
# in RAILS_ROOT/config/environments/development.rb
APP_DOMAIN = "localhost"
# in RAILS_ROOT/config/environments/production.rb...
Setup Wildcard Subdomain on Localhost for Development Work without /Etc/hosts TomFoolery
Open up your browser and visit http://www.hexxie.com. You can also go to anything.hexxie.com and everything.hexxie.com, which will resolve to your local machine (assuming it's localhost at 127.0.0.1).
How it works
Super simple. I just pointed hex...