Leave a comment

A bundle command not found error in “cap deploy”

We sometime get an error “bundle command not found” this error occur due to rails not find a gem path.

The solution for above problem is just  set default environment as
set :default_environment, {
 'PATH' => "/usr/lib/ruby/gems/1.8/bin/:$PATH"
 }
and you can check your gem path by giving a command "gem env"
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: