Your SlideShare is downloading. ×
POWering Through Rails/Rack Application Development
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

POWering Through Rails/Rack Application Development

1,880
views

Published on

By Jeremy Ebler …

By Jeremy Ebler
Jaguar Design Studio
January 2013 Cave Lunch


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,880
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. POWering through Rails/Rack Application Development Saving the world, one command at a time™Jeremy Ebler © 2013
  • 2. POWDeveloping 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 | shSymlink your app into ~/.powVisit http://#{symlink}.dev/ in a web browser.Nothing to start, no terminal windows, justbrowse and go!
  • 5. Can it be Easier?Actually, yes!$ gem install powder$ powder link [name]$ powder openhttps://github.com/rodreegez/powder
  • 6. POW rubygems cacheBundle 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.devGemfile$ source ENV[LOCALGEMS] || https://rubygems.org
  • 7. No more bundle exechttps://github.com/mpapis/rubygems-bundlerSimply,$ gem install bundler rubygems-bundler$ gem regenerate_binstubsIt modifies gem wrappers shebang to loadruby_noexec_wrapper. Then, when you run gembinaries, it takes a look at your working directory, andevery directory above it until it can find a Gemfile. If theexecutable is present in your Gemfile, it switches tousing that Gemfile instead (via Bundle.setup).