Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

env problem on OS X #9

Open
eLod opened this issue Mar 13, 2011 · 0 comments
Open

env problem on OS X #9

eLod opened this issue Mar 13, 2011 · 0 comments

Comments

@eLod
Copy link

eLod commented Mar 13, 2011

The provided rake tasks 'db:create' and 'db:drop' are created like:

task :create, :env, :needs => :environment do |t, args|
  args.with_defaults(:env => Rails.env)
...

, which ends up args = {:env => "/Users/pota/.bashrc"} on my machine, which is obviously not what it should be (Rails.env is "test", but the bashrc is set so it simply does not overwrite it). (Mac OS X 10.6.6., ruby 1.8.7.)

dlee referenced this issue in dlee/sequel-rails Jan 30, 2013
Those tasks makes not much sense in the case of TimeStampMigrator
migrations (used by this gem generator). For more information see:
https://groups.google.com/forum/?fromgroups=#!topic/sequel-talk/eXKNhxrhdBw
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant