Sha256: 4aab7a3eb41b74700f025fda3173fc82db8911afa6ea07feb01e3925d692e2e4

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

#!/usr/bin/env ruby
require File.dirname(__FILE__) + "/../lib/geordi"
include Geordi

catching_errors do
  retrieve_data!

  if File.exists? "#{root}/script/console" # => Rails 2
    system "shell-for #{env} --no-bash script/console #{env}"
  else
    system "shell-for #{env} --no-bash bundle exec rails console #{env}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geordi-0.4.4 bin/console-for