Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

env problem on OS X #9

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

Comments

Projects
None yet
1 participant

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 dlee referenced this issue in dlee/sequel-rails Jan 30, 2013

@JonathanTron JonathanTron Remove `rake db:forward` and `rake db:rollback` tasks (refs #9)
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
3be18dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment