Sha256: 43fcde3a86beadab53912e671d5c560f8eb49d506a3ea19290cb3694404467d7
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + "/../lib/geordi/capistrano" include Geordi::Capistrano catching_errors do self.stage = ARGV.shift options = { :select_server => true } if File.exists? "#{config.root}/script/console" # => Rails 2 shell_for("script/console #{config.env}", options) else shell_for("bundle exec rails console #{config.env}", options) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
geordi-0.18.0 | bin/console-for |
geordi-0.17.4 | bin/console-for |
geordi-0.17.3 | bin/console-for |
geordi-0.16.3 | bin/console-for |