rails installation problem

74 views
Skip to first unread message

Sun Nmas

unread,
Jan 23, 2015, 7:55:37 PM1/23/15
to rubyonra...@googlegroups.com
windows just installed, my problem on picture:
https://yadi.sk/i/bJLs7mEfeCYzd

--
Posted via http://www.ruby-forum.com/.

Sun Nmas

unread,
Jan 23, 2015, 8:11:10 PM1/23/15
to rubyonra...@googlegroups.com
it helps me:

gem sources -r https://rubygems.org/
gem sources -a http://rubygems.org
gem update --system
gem install rails

https://yadi.sk/i/VkhhVIDweCZA6

Sun Nmas

unread,
Jan 23, 2015, 8:19:02 PM1/23/15
to rubyonra...@googlegroups.com
now new problem:
rails new test
good bla bla
Gem::InstallError: The 'json' native ... bad bla bla

https://yadi.sk/i/TfaxD8X6eCZDD

Sun Nmas

unread,
Jan 23, 2015, 9:34:23 PM1/23/15
to rubyonra...@googlegroups.com
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

Sun Nmas

unread,
Jan 23, 2015, 9:36:14 PM1/23/15
to rubyonra...@googlegroups.com
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

Sun Nmas

unread,
Jan 23, 2015, 9:53:41 PM1/23/15
to rubyonra...@googlegroups.com
rails new test -B (run without bundle)
now edit gemfile:
source 'http://rubygems.org'
bundle install

wow! seems ok..

https://yadi.sk/i/nqhZWf97eCZt4

Sun Nmas

unread,
Jan 23, 2015, 9:56:29 PM1/23/15
to rubyonra...@googlegroups.com
everything works!
https://yadi.sk/i/HBv4vnfbeCZv6
Reply all
Reply to author
Forward
0 new messages