Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running rake tasks #57

Closed
semmons99 opened this issue Nov 15, 2013 · 2 comments
Closed

error running rake tasks #57

semmons99 opened this issue Nov 15, 2013 · 2 comments

Comments

@semmons99
Copy link

As soon as I run a rake task for creating the database, etc. I get the following error.

λ rake db:setup
rake aborted!
undefined method `exitstatus' for nil:NilClass
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/storage/abstract.rb:89:in `exec'
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/storage/abstract.rb:93:in `safe_exec'
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/storage/mysql.rb:46:in `execute'
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/storage/mysql.rb:5:in `_create'
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/storage/abstract.rb:11:in `create'
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/storage.rb:20:in `create_environment'
/home/vagrant/.gem/ruby/2.0.0/gems/sequel-rails-0.8.0/lib/sequel_rails/railties/database.rake:103:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:setup => db:create
(See full trace by running task with --trace)

This is on a fresh rails 4.0.1 app with mysql2 and the sequel-rails gem pointing at github/master

@JonathanTron
Copy link
Member

Hi @semmons99, thanks for reporting it. It should be fixed with the current version.

@semmons99
Copy link
Author

@JonathanTron thanks for the quick turnaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants