Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why don't you also read the .bash_profile? #176

Closed
jmuheim opened this issue Mar 28, 2014 · 1 comment
Closed

Why don't you also read the .bash_profile? #176

jmuheim opened this issue Mar 28, 2014 · 1 comment

Comments

@jmuheim
Copy link

jmuheim commented Mar 28, 2014

My hoster lets me activate Ruby 2.1 by adding some lines to my .bash_profile:

export PATH=/package/host/localhost/ruby-2.1.1/bin:$PATH
export PATH=$HOME/.gem/ruby/2.1.0/bin:$PATH

I needed hours to make Mina work because it didn't find bundler itself, as .bash_profile is only read by non-interactive shells, so Mina used the "wrong" path.

I fixed the issue by doing this:

task :environment do
  queue %[echo '-----> Loading environment']
  queue %[source ~/.bash_profile]
end

Maybe this should be mentioned somewhere? Would it be a problem to always automatically load .bash_profile?

Thanks for Mina, it's really nice tool and soooo fast! 👍

@d4be4st
Copy link
Member

d4be4st commented Jul 5, 2015

this is shell problem

similar issue: #311

@d4be4st d4be4st closed this as completed Jul 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants