Questions tagged [rack-pow]

Pow is a zero-config Rack server for Mac OS X created by 37signals.

Pow is a zero-configuration Rack server for Mac OS X. It makes developing Rails and Rack applications as frictionless as possible. You can install it in ten seconds and have your first app up and running in under a minute. No mucking around with /etc/hosts, no compiling Apache modules, no editing configuration files or installing preference panes. And running multiple apps with multiple versions of Ruby is trivial.

To serve a Rack app, just symlink it into ~/.pow directory. Let's say you're working on an app that lives in ~/Projects/myapp. You'd like to access it at http://myapp.dev/. Setting it up is as easy as:

$ cd ~/.pow
$ ln -s ~/Projects/myapp

The name of the symlink (myapp) determines the hostname you use (myapp.dev) to access the application it points to (~/Projects/myapp).

136 questions
4
votes
3 answers

How can I stop the Pow server from starting up at computer boot (OS X)?

TL;DR: Is there a way to disable the Pow server from starting when my machine boots up, but retain the ability to launch the server manually via powder up when I need it to run? I am using Pow for my local development (and managing via the Powder…
AndrewS
  • 1,395
  • 11
  • 23
4
votes
1 answer

Pow.cx Rails Assets Not Loading (IOError: Closed Stream)

Assets are timing out for my Rails app served locally through Pow. When I visit an asset's url directly (eg. '/assets/home.css') I'm presented with this error: { "name":"IOError", "message":"closed stream", …
4
votes
1 answer

POW Error - Rails

For some reason, one of my apps won't work with pow. I set the symlink fine...to my app, and the app shows up as linked. curl get.pow.cx | sh cd ~/.pow ln -s ~/desktop/rails_project/myaccountdeck/myaccountdeck But then I get this error: Error:…
user749798
  • 5,210
  • 10
  • 51
  • 85
3
votes
2 answers

Preventing broken images hitting Rails in development

Anyone know of a simple way to prevent broken images hitting Rails in development? Sometimes I need to load the production database to debug a specific problem, and the broken images add noise to the logs and slows down Rails. I'm using pow and am…
Zubin
  • 9,422
  • 7
  • 48
  • 52
3
votes
2 answers

How do I access remote machine that runs on Pow (rails web server)

I've recently installed Pow on my Mac. It's great. It's convenient for my own dev machine. But I wonder if I can set it up to be shared by my colleagues. The problem is DNS resolution part. For example, if I have a dev site on my machine like…
Sam Kong
  • 5,472
  • 8
  • 51
  • 87
3
votes
1 answer

Pry-Remote not triggered Rails 4

Problem: After upgrading to Rails 4 in another branch and trying the solution that worked last time Pry-Remote with Pow on Rails 4 . I'm still finding difficulty with the new Rails 4 and Pry Debugger. What's I'm running: rvm 1.26.11 (latest) by…
FastSolutions
  • 1,809
  • 1
  • 25
  • 49
3
votes
1 answer

ngrok, pow, and devise causes redirect to local URL after sign in on Rails 4

I'm running ngrok, pow, and using devise for authentication on my Rails 4.2.1 application. When I run it locally by going to http://myapp.dev, pow works fine all across the board. I can sign in, view pages, etc. When I set up an ngrok proxy, I get…
Waynn Lue
  • 11,344
  • 8
  • 51
  • 76
3
votes
2 answers

Why is Chrome Rendering Rails Pages So Slowly When Using POW?

When using Chrome with a POW .dev domain, page loads are incredibly slow. There is a long delay between Rails finishing its work and the page being rendered to the screen. Running the same app on a .dev domain in Safari or Firefox results in instant…
Undistraction
  • 42,754
  • 56
  • 195
  • 331
3
votes
1 answer

Rails 4, ruby-2.0.0-p247, pow, rvm - LoadError: cannot load such file -- bundler/setup

I've been having a bunch of issues with pow all of a sudden and I cannot figure out why. I have my app at /path/to/app and symlinked it to pow: $ cd ~./pow $ ln -s /path/to/app app_name I have my app set up with rvm: $ rvm -v rvm 1.25.0…
Anthony To
  • 2,193
  • 2
  • 21
  • 29
3
votes
4 answers

Accessing virtual hosts from other computers – xip.io alternative

Sometimes you need to access your (Pow) virtual hosts from another computer on your local network — for example, when testing your application on a mobile device or from a Windows or Linux VM. So far I've been using pow and xip.io seems to be the…
Marius Butuc
  • 17,781
  • 22
  • 77
  • 111
3
votes
2 answers

errors after gem update --system

I working on OSX on a ruby on Rails application. Using RVM for managing ruby. I just did: gem update --system I thought this is something you have to do once in a while. But it seems that this has broken something. When I start my application (i am…
MDekker
  • 443
  • 1
  • 4
  • 19
2
votes
1 answer

Error: Rack app won't run -- bundler/setup

I'm completely new to Ruby (and RoR) and I'm trying to set up a local environment to help work on a site. Ideally, I would work on it locally, and then commit the changes to github and push it further down the pipeline from there. I'm on a brand new…
Michal Kopanski
  • 265
  • 2
  • 6
  • 16
2
votes
1 answer

Pow config.ru for serving static files outside of the public directory?

How do you setup a config.ru file to have Pow serve html/css/js files outside of the public directory? Let's say I wanted to serve them out of the html folder instead.
berg
  • 614
  • 3
  • 9
  • 23
2
votes
1 answer

Can I load different RAILS_ENV for different pow host for one app?

I want to run my capybara-webkit-enabled acceptance tests through Pow. Our app has several subdomains, and it's a pain getting it to work. If I run my tests through pow, though, they work. Only problem is I have to edit my .powenv and restart pow to…
Martin Svalin
  • 2,227
  • 1
  • 17
  • 23
2
votes
1 answer

Pow (37signals) doesn't start at start up

I am using the POW server for my rails application. However, it doesn't start on boot. I have to reinstall it every time. I have tried everything in the troubleshooting guide. Any ideas on where to look next?
Chris Slade
  • 8,077
  • 1
  • 16
  • 13
1 2
3
9 10