Comments (5)
bundle install
成功没,提示的是bcrypt这个gem没装好
http://blog.csdn.net/ppp8300885/article/details/52594839
from housepricing.
frankdeMacBook-Air:housepricing Jiawen$ bundle exec rake db:migrate
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/rake-11.2.2/lib/rake/ext/fixnum.rb:4: warning: constant ::Fixnum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/sprockets-3.6.0/lib/sprockets/processor_utils.rb:110: warning: constant ::Fixnum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/sprockets-3.6.0/lib/sprockets/processor_utils.rb:111: warning: constant ::Bignum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/concurrent-ruby-1.0.2/lib/concurrent/map.rb:206: warning: constant ::Fixnum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
rake aborted!
SystemStackError: stack level too deep
/Users/Jiawen/HousePricing/config/environment.rb:5:in `<top (required)>'
/Users/Jiawen/.rbenv/versions/2.4.2/bin/bundle:23:in `load'
/Users/Jiawen/.rbenv/versions/2.4.2/bin/bundle:23:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
frankdeMacBook-Air:housepricing Jiawen$
我也遇到了类似问题,请问什么原因
from housepricing.
https://stackoverflow.com/questions/3456304/rake-aborted-stack-level-too-deep
from housepricing.
照它上面做了,但是启动服务器的时候又报错
stacklevel too deep(system stack error)=> Rails 4.2.5.2 application starting in development on http://localhost:4000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Exiting
/Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:125:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
... 10911 levels...
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-4.2.5.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/Jiawen/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-4.2.5.2/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
from housepricing.
我猜你是用的ruby 2.4.0配上的rails 4.2.5.2, 换个ruby版本2.2.4,rails版本保持不变, wiki中有
from housepricing.
Related Issues (18)
- 有没有使用文档? HOT 9
- 请问如何安装 rails 4.2.5.2版本 HOT 1
- 如何抓取周边信息 HOT 4
- 数据问题 HOT 4
- 运行 HOT 1
- undefined local variable or method `buses_path' for #<SpidersController:0x00007fbeb0af9260> HOT 3
- 清空数据库后,抓取附近功能报错 HOT 2
- 为什么网页版莫得地点切换 HOT 1
- NoMethodError in Houses#index HOT 21
- Mimemagic 许可证问题如何解决?
- 怎么运行这项目啊,需要装什么环境,或者docker部署就可以直接运行吗
- 几点建议。
- 代码没有注释,很难理解你是什么** HOT 2
- 无法运行 HOT 10
- 抓取周边信息,没有权限 HOT 5
- 项目跑不起来。。。 HOT 2
- 项目运行,无法显示图表 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from housepricing.