2. POW
Developing sites has never been easier!
● http://pow.cx/
Use Pow to painlessly develop:
● Ruby on Rails
● Any Rack Application
● Static Sites (Nanoc/Stasis)
3. What is POW?
Pow prevails over the forces of evil.
● Convention trumps configuration.
● No maintenance required.
● Tame multiple Rubies.
● Integrated with OS X.
4. How to POW?
Install with a simple command:
$ curl get.pow.cx | sh
Symlink your app into ~/.pow
Visit http://#{symlink}.dev/ in a web browser.
Nothing to start, no terminal windows, just
browse and go!
5. Can it be Easier?
Actually, yes!
$ gem install powder
$ powder link [name]
$ powder open
https://github.com/rodreegez/powder
6. POW rubygems cache
Bundle faster than a speeding SSD!
(or 5400rpm HDD…)
Setup the Cache
$ git clone git://github.com/akitaonrails/rubygems_proxy.git rubygems
$ cd rubygems; powder link
~/.bash_profile
$ export LOCALGEMS='http://rubygems.dev'
Gemfile
$ source ENV['LOCALGEMS'] || 'https://rubygems.org'
7. No more bundle exec
https://github.com/mpapis/rubygems-bundler
Simply,
$ gem install bundler rubygems-bundler
$ gem regenerate_binstubs
It modifies gem wrappers shebang to load
ruby_noexec_wrapper. Then, when you run gem
binaries, it takes a look at your working directory, and
every directory above it until it can find a Gemfile. If the
executable is present in your Gemfile, it switches to
using that Gemfile instead (via Bundle.setup).