tasks/mina/chruby.rb in mina-1.0.6 vs tasks/mina/chruby.rb in mina-1.0.7
- old
+ new
@@ -1,10 +1,10 @@
set :chruby_path, '/etc/profile.d/chruby.sh'
task :chruby, :env do |_, args|
unless args[:env]
puts "Task 'chruby' needs a Ruby version as an argument."
- puts "Example: invoke :'chruby[ruby-1.9.3-p392]'"
+ puts "Example: invoke :chruby, 'ruby-2.4'"
exit 1
end
comment %{chruby to version: \\"#{args[:env]}\\"}
command %{