2014-01-30 103 views
0

我非常新的Rails环境。我从Pluralsight's Ruby on rails for .Net Development学习它: 我试图运行耙分贝:迁移并得到以下错误:Ruby on Rails的:错误的耙分贝:迁移

D:\Rails\MyBlog>rake db:migrate 
rake aborted! 
126: The specified module could not be found. - C:/RailsInstaller/Ruby1.9.3/li 
b/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.9/mysql2.so 
D:/Rails/MyBlog/config/application.rb:7:in `<top (required)>' 
D:/Rails/MyBlog/Rakefile:4:in `<top (required)>' 
(See full trace by running task with --trace) 

我在学习的过程中,我的实之间唯一的区别是,我使用MySQL和当然使用SQL Server 2008

可能是什么错误背后的原因是什么?任何帮助?

+0

你能提供你的gemfile吗? – Hardik

+0

访问这个答案在这里@ http://stackoverflow.com/questions/9936523/ruby-mysql2-error –

+0

@Uandl ..这宝石文件你想..我在哪里可以找到它?我非常新的这个,所以我不能回答你的问题prooperly .. – writeToBhuwan

回答

0

尝试

bundle install 

,你可能已经完成。

之后,去Here

+0

仍然是相同的错误... – writeToBhuwan