[Rails] rvm/capistrano
When I ran cap deploy:setup, the following actually installed rvm, ruby and the online_store gemset on my staging server: set :rvm_ruby_string, 'ruby-1.9.3-p0@online_store' set :rvm_autolibs_flag, read-only set :rvm_type, :system set :rvm_install_with_sudo, true before 'deploy:setup', 'rvm:install_rvm' # install RVM before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, OR: before 'deploy:setup', 'rvm:create_gemset' # only create gemset Now that's what you would expect. However, I already had rvm, ruby installed on my server, and all I wanted installed was the gemset called online_store. So why was this unable to detect that rvm and ruby was already installed? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[Rails] rvm + capistrano + gitosis
I don't know how people do it, but I'm having huge headaches getting these things to work with each other. At the moment, doing a cap deploy:setup gives me this error: /Users/mikool/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/ capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:55:in `join': can't convert nil into String (TypeError) I've looked around but can't find a solution that works. It actually did not give me this error before, but once I setup keys to my cap deploying user, I started getting this error. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rvm + capistrano + gitosis
On Fri, Apr 22, 2011 at 3:15 AM, Mike C snib...@gmail.com wrote: I don't know how people do it, but I'm having huge headaches getting these things to work with each other. At the moment, doing a cap deploy:setup gives me this error: /Users/mikool/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/ capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:55:in `join': can't convert nil into String (TypeError) The error is pointing out that you are trying to do a join on an object with nothing in it (nil). I've looked around but can't find a solution that works. It actually did not give me this error before, but once I setup keys to my cap deploying user, I started getting this error. Check over this code and make sure it's correct. If you can't see the issue post the code here for the group to see. B. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.