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

Cannot detect ruby #59

Open
tejasbubane opened this issue Apr 27, 2015 · 2 comments
Open

Cannot detect ruby #59

tejasbubane opened this issue Apr 27, 2015 · 2 comments

Comments

@tejasbubane
Copy link

I get the following error in cap staging rvm1:check

DEBUG [66fed8b8] Command: cd /home/vagrant/safe/releases/20150427110347 && /home/vagrant/safe/rvm1scripts/rvm-auto.sh . ruby --version || true
DEBUG [66fed8b8]    Can not find ruby for '.'.
DEBUG [66fed8b8] Finished in 3.668 seconds with exit status 0 (successful).

I have .ruby-version and .ruby-gemset files in my project directory.
When I cd into my release directory and run rvm current, I get ruby-2.1.5@<project_name>
Also when I set the ruby-version in deploy.rb I do not get the above error and everything works properly:

set :rvm1_ruby_version, "2.1.5"
@mpapis
Copy link
Member

mpapis commented Oct 15, 2015

is .ruby-version also part of the repository?

@tejasbubane
Copy link
Author

Yes. It should be right?

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