windows just installed, my problem on picture:
Error: Could not find a valid gem ‘rails’ bla bla
windows just installed, my problem on picture:
Error: Could not find a valid gem ‘rails’ bla bla
it helps me:
gem sources -r https://rubygems.org/
gem sources -a http://rubygems.org
gem update --system
gem install rails
now new problem:
rails new test
good bla bla
Gem::InstallError: The ‘json’ native … bad bla bla
now new problem:
rails new test
good bla bla
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 … very bad bla
bla
https://yadi.sk/i/p3150IQHeCZmo
it helps me:
I download development kit for my ruby21
unpucked it to c:\ruby21\dk
cd c:\ruby21\dk
ruby dk.rb init
ruby dk.rb review
ruby dk.rb install
restart cmd
cd c:\ruby21\bin
gem install json --platform=ruby
json-1.8.2.gem installed
rails is gone somewhere! ((
gem install rails
rails new test -B (run without bundle)
now edit gemfile:
source ‘http://rubygems.org’
bundle install
wow! seems ok…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs