capistrano / chruby Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://capistranorb.com/
License: MIT License
Home Page: http://capistranorb.com/
License: MIT License
Which license(s) would/is this be released under?
DEBUG[20def91d] Command: cd ~/app/releases/20140714154150 && /usr/local/bin/chruby-exec ruby-1.9.3-p547 -- bundle install --binstubs ~/app/shared/bin --path ~/app/shared/bundle --without development test --deployment --quiet
DEBUG[20def91d] /bin/bash: chruby: command not found
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host 100.200.300.400: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /bin/bash: chruby: command not found
I have tried to use capistrano with chruby, but it looks likes the gem is not being installed.
# Gemfile
group :development do
gem 'capistrano', '~> 3.0'
gem 'capistrano-rails'
gem 'capistrano-bundler'
gem 'capistrano-chruby', github: 'capistrano/chruby'
I run bundle install
and it is printed the gem is being used:
Using capistrano (3.0.1)
Using capistrano-bundler (1.0.0)
Using capistrano-chruby (0.0.1) from git://github.com/capistrano/chruby.git (at master)
Using capistrano-rails (1.1.0)
When I run cap production deploy
, I got the error:
cap aborted!
cannot load such file -- capistrano/chruby
.../Capfile:20:in `<top (required)>'
~/.gem/ruby/2.0.0/gems/capistrano-3.0.1/lib/capistrano/application.rb:22:in `load_rakefile'
~/.gem/ruby/2.0.0/gems/capistrano-3.0.1/lib/capistrano/application.rb:12:in `run'
~/.gem/ruby/2.0.0/gems/capistrano-3.0.1/bin/cap:3:in `<top (required)>'
~/.gem/ruby/2.0.0/bin/cap:23:in `load'
~/.gem/ruby/2.0.0/bin/cap:23:in `<main>'
I looked inside the capistrano gem folder and It hasn't the chruby files, although the bundler said that gem is used.
Thanks
It would be nice if chruby_ruby
would automatically be set to the ruby version defined in .ruby-version
.
I'll try to create a PR for it but it might take some time (quite busy). :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.