4 ms·
Hooray! No more mucking around in /etc/hosts, .rvmrc, or .profile! Now you can muck around in ~/Library/Application Support/Pow/Hosts, .powrc, and .powenv inste
by mjijackson 16y ago
Hooray! No more mucking around in /etc/hosts, .rvmrc, or .profile! Now you can muck around in ~/Library/Application Support/Pow/Hosts, .powrc, and .powenv instead!
Thanks but no thanks. Do yourself a favor and learn how to install rack and nginx. It's already dirt simple, and you'll save yourself having to go back and learn it when it's time to deploy your app somewhere other than your laptop.
- jarin 16y agoOr, you could NOT muck about in ~/Library/Application Support/Pow/Hosts, .powrc, and .powenv, and just symlink your app directories into ~/.pow, which is probably how 99% of developers will use it.
- telemachos 16y agoIn fairness to the parent post, it may not always be that simple. I installed, symlinked as you described and am currently looking at a page filled with "Pow: Error Starting Application". (Apparently it thinks I don't have Bundler installed. This is likely an issue because of pow + rvm + gemsets + factor x.) The downside of zero configuration is "What do you do when it doesn't just work?" (I'm digging around the manual now...) (A quick follow-up: The second app I symlinked in the exact same way does "Just work", so I don't doubt that there's something odd about my config for the first. Still, no fun to debug.)
- msbarnett 16y agoAs near as I can tell at the moment, it doesn't seem to respect any gemsets specified in your project .rvmrc, just the ruby interpreter specified.
- telemachos 16y agoOdd - my two apps have identical .rvmrc files (both using the same interpreter and gemset). Even odder, the first app is now working, and I'm completely not sure why.
- jarin 16y agoIf you haven't already, open Console.app, show the log list and there's a set of Pow logs in there. It might help out.
- msbarnett 16y agoIt turned out my issue was being caused because I was running an older version of rvm. Updating fixed it.
- jarin 16y agoIncidentally, RVM is another software package with a curl-based install :) $ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head http://rvm.beginrescueend.com/releases/rvm-install-head )
- telemachos 16y agoAnd npm is another popular one. I'm not sure if the multiple examples helps your case or tptacek's though. (That is, we all seem to be getting more and more comfortable with this style of installation.)
- jarin 16y agotptacek has a good point that you shouldn't just trust any old curl-based install, but I think that really applies to any install of any kind. I think you have to consider the source of any software package, it's not something specific to this particular method.
- deleted 16y ago[deleted]
- mjijackson 16y agoTo say that something is "zero-configuration" is complete marketing garbage. You get what you deserve if you choose to believe it.
- jarin 16y agoJust what this thread needed, more FUD.
- mjijackson 16y agoTo say that something is "zero-configuration" is complete marketing garbage. You get what you deserve if you choose to believe it.