kasperite
kasperite

Reputation: 2478

Segmentation fault when run db:migrate

I am quite new to ruby and ruby on rails so I hope someone can suggest me a solution to this problem. When I run bundle exec db:migrate it returns an error like this:

/Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core.rb:22: warning: already initialized constant Mash (eval): [BUG] Segmentation fault ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]

I suspect multiple require happens here, which may have something to do with ruby version compatibilities(Correct me if I am wrong). Has anyone seen a similar problem like this?Im using rubygem 1.8.17, rails 3.0.7, bundler 1.0.22 and no rvm. Thanks

Upvotes: 3

Views: 2183

Answers (2)

Eytan
Eytan

Reputation: 1835

I was having a similar problem and the following link answered it for me. I know the title appears to be talking about something else entirely, but take a look.

Why can't I install Rails on Lion using RVM?

Best of luck!

Upvotes: 0

beck03076
beck03076

Reputation: 3308

bundle exec rake db:migrate

Can you try the command above?

Upvotes: 3

Related Questions