Comments (14)
Are you using rvm gemsets? Sounds like the one pow is loaded with doesn't have those gems.
from pow.
No but I'm using RVM to replace my system Ruby:
jalada@mc15812 ~ » which ruby
/Users/jalada/.rvm/rubies/ruby-1.8.7-p334/bin/ruby
jalada@mc15812 ~ » rvm gemdir
/Users/jalada/.rvm/gems/ruby-1.8.7-p334
Does that help?
Looking at the source very briefly, it feels like it should source rvm
whether or not there is an .rvmrc
file present in the project.
from pow.
What shell are you using? (assuming bash)
Is rvm setup in .bash_profile
or .bashrc
or something else?
from pow.
zsh, it's at the bottom of .profile
from pow.
I think zsh uses .zshenv
and .zshrc
instead of .profile
. Not an zsh expert. Sam uses zsh, he might know better.
from pow.
I am sourcing .profile
at the end of .zshrc
; would that be a problem?
from pow.
Debug idea: add a echo "Loading RVM"
right before you source rvm.
Open Console.app, restart pow and hit an app. You should see that log line happen in Console.app if its being sourced by pow.
from pow.
With or without a .rvmrc
file in my app's directory, I never see Loading RVM after adding it to my .profile
before sourcing RVM.
from pow.
Kind of what I expected.
With that debug still in place: zsh --login -c "echo test"
Does that product any output? Thinking zsh's --login environment just isn't evaling rvm.
from pow.
You're right, no 'Loading RVM'
from pow.
Try moving rvm directly into .zshenv
from pow.
Bingo. Now it's working fine and I'm getting Loading RVM in my console.
I'm a bit of a ZSH noob; I'll have to look up .zshenv etc.
Weirdly I'm getting 'Loading RVM' twice in a new shell even though it's just in .zshenv, but never mind about that! Think it's just the way it's rendering it in iTerm or something.
Thanks for the help! Sorry it wasn't a real bug :P love pow!
from pow.
I'm having problems with this. Seems like the .zshenv isn't loading RVM properly, and it doesn't include the RVM gemdir into the PATH env variable. So commands like bundle doesn't work anymore.
If I have the Load RVM scripts in .zshrc, I get the following for the PATH variable:
/Users/andrew/.rvm/gems/ruby-1.9.2-p290/bin:/Users/andrew/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/andrew/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/andrew/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
But when I load it in .zshenv, it doesn't load RVM until i run an RVM command, and it doesn't even load properly:
➜ ~ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
➜ ~ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
➜ ~ rvm list
rvm rubies
=> ruby-1.9.2-p290 [ x86_64 ]
ruby-1.9.3-p0 [ x86_64 ]
➜ ~ echo $PATH
/Users/andrew/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
➜ ~
Help would be appreciated.
from pow.
See this section if you are having issues: http://pow.cx/manual#section_2.3.2
I believe it helped me.
from pow.
Related Issues (20)
- DeprecationWarning: util.puts is deprecated.
- Is it possible to blacklist specific domains?
- .dev domains are not working in El Capitan HOT 12
- How to use pow with minitests?
- ENAMETOOLONG errors with long URLs
- Homebrew Install Results In Broken Pow Because of Missing Dirs HOT 1
- Typhoeus gem conflict
- HTTPS Proxy can't start up
- Sendfile Range request HOT 1
- ERR_CERT_AUTHORITY_INVALID HOT 1
- Uninstaller fails: error: can't find Pow
- Is this repository still under maintaining? HOT 1
- Can i maintain pow? HOT 1
- Chrome to force .dev domains to HTTPS via preloaded HSTS HOT 4
- make .pow 7X Faster HOT 1
- Ability to listen on multiple ports (80 + 3000)
- Installation fails silently if you already have an instance of pow (older or current version) running HOT 1
- 503 status when serving many concurrent files
- Browsers can't access sites since upgrade to 10.13.3 HOT 1
- Multiple workers? Multiple requests to same app seem to queue?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pow.