C:\Serwer>rails new kursy C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/dependency.rb:315:in to_specs': Could not** ** find 'railties' (>= 0) among 9 total gem(s) (Gem::LoadError)** **Checked in 'GEM_PATH=C:/Users/Dell/.gem/ruby/2.2.0;C:/Ruby22-x64/lib/ruby/gems/2** **.2.0', executegem envfor more information** ** from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/dependency.rb:324:into_spec ’
** from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in** gem'** ** from C:/RailsInstaller/Ruby2.1.0/bin/rails:22:in’
Tak na poczatku wspomne ze uzywa windows do pisania w rails to slabiutki pomysl (jak juz musisz sprobuj rails installer) powinno postawic cale srodowisko (ale sporo problemow i tak ci sie trafi)
A co do pytania niby gem rails jest ale zaleznosi nie ma, cos ze srodowiskiem. Sprobuj poprzedzic komende (bundle exec), czyli:
bundle exec rails new …
jak dalej nie pomoze to daj najpierw gem install rails
C:\Serwer>bundle exec rails new kursy
C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/dependency.rb:315:in to_specs': Could not find 'bundler' (>= 0) among 9 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=C:/Users/Dell/.gem/ruby/2.2.0;C:/Ruby22-x64/lib/ruby/gems/2 .2.0', executegem envfor more information from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/dependency.rb:324:into_spec
’
from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in gem' from C:/RailsInstaller/Ruby2.1.0/bin/bundle:22:in’
C:\Serwer>gem install rails
ERROR: Could not find a valid gem ‘rails’ (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed ( https://api.rubygems.org/specs.4.8.gz)
Dalej to samo
C:\Serwer>gem install bundle
ERROR: Could not find a valid gem ‘bundle’ (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect ret
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed https://api.rubygems.org/specs.4.8.gz)
nie to samo zupelnie inny rodzaj bledu dostales, polecenie do zainstalowania gemu dobre, blad u ciebie z SSH, google pomoze, jak mowilem z windows beda problemy.
bundler to tylko opakowanie bundle gemu, zmienili nazwe wywalili r ale zostal meta gem ktory linkuje tylko do bundle, wiec instalujac bundle i bundler efekt ten sam poza dodatkowym gemem (bundler ktory nic nie robi poza byciem opakowaniem dla innego gemu), taki meta gem