Problem z rekordu

Microsoft Windows [Version 6.3.9600]
© 2013 Microsoft Corporation. Wszelkie prawa zastrzeżone.

C:\server\kursy>gem install railties
Successfully installed railties-5.0.2
Parsing documentation for railties-5.0.2
Installing ri documentation for railties-5.0.2
Done installing documentation for railties after 0 seconds
1 gem installed

C:\server\kursy>rails c
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11-x64-mingw32/lib/bcrypt.rb:16:in require': cannot load such file -- bcrypt_ext (LoadError) from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11-x64-mingw32/lib/bcrypt.rb:16:inrescue in <top (required)>’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11-x64-mingw32/lib/bcrypt.rb:12:in <top (required)>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:91:inrequire’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:91:in block (2 levels) in require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:ineach’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in block in require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:ineach’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler.rb:107:inrequire’
from C:/server/kursy/config/application.rb:7:in <top (required)>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:156:inrequire’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:156:in require_application_and_environment!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:77:inconsole’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in run_command!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in<top (required)>’
from bin/rails:4:in require' from bin/rails:4:in

C:\server\kursy>rails c
Loading development environment (Rails 5.0.2)
<89", :email=>“piterxcvz@op.pl”, :miasto=>“xxxx”, :ulica=>“Spacerowa”, :nr_domu=>“123”, :kod_pocztowy=>“12-400”)
NameError: uninitialized constant ActivateRecord
from C:/server/kursy/app/models/uzytkownik.rb:1:in <top (required)>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies/interlock.rb:12:inblock in loading’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/concurrency/share_lock.rb:150:in exclusive' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies/interlock.rb:11:inloading’
from (irb):1
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/console.rb:65:in start' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/console_helper.rb:9:instart’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:78:in console' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:inrun_command!’
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in <top (required)>' from bin/rails:4:inrequire’
from bin/rails:4:in `’
irb(main):002:0>.

Witam

Mam powtarzajacy sie problem. Prosze o pomoc

A zainstalowałeś w ogóle railsy czy tylko railties, a jeżeli to drugie to to dlaczego tylko to drugie?

zainstalowalem to i to.

wydaje mi sie ze problem powoduje któryś z gemow, obstawiam ze bcrypt nie jest kompatybilny z wersja rails albo cos takiego, ale pewnosci nie mam

Może to pomoże: https://github.com/codahale/bcrypt-ruby/issues/128#issuecomment-181905744

a nie powinno byc ActiveRecord ? Tyle, że to “obok” problemu ladowania bcrypt-ext…