rails server出问题

heniancheng 2015-10-01 12:27:48
刚接触ruby,尝试部署ruby on rails.
在window7上安装了ruby2.2 rails 4.2后rails new myapp
新建都没问题,在rails server时老是有以下问题

...全文
6336 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhangkai5302 2017-05-17
  • 打赏
  • 举报
回复
最好用一个Linux系统开发~不然问题会很多
zhangkai5302 2017-05-17
  • 打赏
  • 举报
回复
https://gorails.com/setup/windows/10
淡的微笑 2016-02-11
  • 打赏
  • 举报
回复
额。。。没有在win下用过ruby,直接在linux 下好多了。
sevk 2016-02-06
  • 打赏
  • 举报
回复
bundle 成功了?
tongxuejie 2015-10-15
  • 打赏
  • 举报
回复
这种错误或许是缺少文件 重新bundle install试试
heniancheng 2015-10-01
  • 打赏
  • 举报
回复
在网上找了说 Find your sqlite3 gemspec file. One example is /usr/local/share/gem/specifications/sqlite3-1.3.7.gemspec Windows: C:\Ruby21\lib\ruby\gems\2.1.0\specifications. You should adjust according with your Rubygem path and sqlite3 version. Edit the file above and look for the following line s.require_paths=["lib"] change it to s.require_paths= ["lib/sqlite3_native"] 我根据安装的改成s.require_paths= ["lib/sqlite3"] 后面又有新的 “cann't load such file" 求指教,谢谢

2,763

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ruby/Rails
社区管理员
  • Ruby/Rails社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧