Skip to content

add Rbenv and RVM notes - #412

Merged
d4be4st merged 2 commits into
mina-deploy:masterfrom
songhuangcn:master
Aug 9, 2016
Merged

add Rbenv and RVM notes#412
d4be4st merged 2 commits into
mina-deploy:masterfrom
songhuangcn:master

Conversation

@songhuangcn

Copy link
Copy Markdown
Contributor

Add Rbenv and RVM notes into Getting_started Doc.

Details

I deploy my project with Mina step by step according to the document 'getting_started.md', then I encountered an error:

bash: line 82 bundle: command not found

At last, I found this is caused by my Rbenv environment, I didn't take note of the some comment in deploy.rb

...
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
# require 'mina/rbenv'  # for rbenv support. (http://rbenv.org)
# require 'mina/rvm'    # for rvm support. (http://rvm.io)
...
...
task :environment do
  # If you're using rbenv, use this to load the rbenv environment.
  # Be sure to commit your .ruby-version or .rbenv-version to your repository.
  # invoke :'rbenv:load'

  # For those using RVM, use this to load an RVM version@gemset.
  # invoke :'rvm:use[ruby-1.9.3-p125@default]'
end
...

The Ruby Version Tool(Rbenv or RVM) should be used by most people, so, we may add some notes into the Doc 'getting_started.md' to remind user!

Comment thread docs/getting_started.md Outdated
set :deploy_to, '/var/www/flipstack.com'
...
```
**Notes:** You may be use the ruby version tool(Rbenv or RVM) to manage ruby and gem, if you use one of than, don't forget uncomment these setting:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better grammar:

You may be using a ruby versioning tool (rbenv or RVM( to manage ruby and gems. If you are using one of them, don't forget to uncomment these settings:

@d4be4st
d4be4st merged commit 25a7345 into mina-deploy:master Aug 9, 2016
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

Successfully merging this pull request may close these issues.

3 participants