error

49 views
Skip to first unread message

Alcimar Costa

unread,
Mar 27, 2015, 5:51:37 PM3/27/15
to railsin...@googlegroups.com

 
I downloaded the rails in the (http://railsinstaller.org/en) website. I tried to create the first project with the following commands :



C:\Users\alcimar>md projetosRuby

C:\Users\alcimar>cd projetosRuby

C:\Users\wolverine\projetosRuby>rails new Levantamento
DL is deprecated, please use Fiddle
      create
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/assets/images/.keep
      create  app/mailers/.keep
      create  app/models/.keep
      create  app/controllers/concerns/.keep
      create  app/models/concerns/.keep
      create  bin
      create  bin/bundle
      create  bin/rails
      create  bin/rake
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/secrets.yml
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/assets.rb
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/cookies_serializer.rb
      create  config/initializers/filter_parameter_logging.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/session_store.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  lib
      create  lib/tasks
      create  lib/tasks/.keep
      create  lib/assets
      create  lib/assets/.keep
      create  log
      create  log/.keep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/robots.txt
      create  test/fixtures
      create  test/fixtures/.keep
      create  test/controllers
      create  test/controllers/.keep
      create  test/mailers
      create  test/mailers/.keep
      create  test/models
      create  test/models/.keep
      create  test/helpers
      create  test/helpers/.keep
      create  test/integration
      create  test/integration/.keep
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.keep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.keep
         run  bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed (https://rubygems.org/gems/rake-
10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.

C:\Users\alcimar\projetosRuby>

how to solve?

Krishna Gundala

unread,
Mar 27, 2015, 9:11:14 PM3/27/15
to railsin...@googlegroups.com

Change the source to http://rubygems.org in both Gemfile and Gemfile.lock and try to run Bundle install again.

This could solve your problem.

--
You received this message because you are subscribed to the Google Groups "RailsInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to railsinstalle...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Surya Avantsa

unread,
Mar 29, 2015, 6:27:29 PM3/29/15
to railsin...@googlegroups.com
The one click installer is only to install ruby. Now he is beyond that step and is trying to create a new application.

As for running bundle install again, yes the bundle install command has to be executed again because it failed the first time. In fact, during the life span of an application, a rails application developer will have to bundle install several times, whenever you add a new gem to your application.

To fix the error you got, which is related to the OpenSSL updates from the recent past, you will have to update your rubygems and the command to do that is:

gem update --system
Run this command and then run bundle install one more time to complete the process of creating the new application.

For more information related to this error; go to: 


Hope this helps.

Thank You,

Surya Avantsa




On Sun, Mar 29, 2015 at 5:43 PM, Cass Hern <excl...@gmail.com> wrote:
What do you mean run bundle install again? he types "rails new" and this is supposed to be a one click installer

Cass Hern

unread,
Mar 29, 2015, 6:50:12 PM3/29/15
to railsin...@googlegroups.com
I got a different SSL error this time, seems like the solution is to rename

source 'https://rubygems.org'

to

source 'http://rubygems.org'

at the top of gemfile or

Bryan Bibat

unread,
Mar 29, 2015, 6:59:17 PM3/29/15
to railsin...@googlegroups.com
This thread has gone too long without the link to the official solution from the RubyInstaller mailing list: https://groups.google.com/forum/#!topic/rubyinstaller/McLTqcU35FY

Namely: https://gist.github.com/luislavena/f064211759ee0f806c88#installing-using-update-packages-new

TL;DR:
1. Download rubygems-update-2.2.3.gem from https://github.com/rubygems/rubygems/releases/tag/v2.2.3
2. Run

C:\>gem install --local rubygems-update-2.2.3.gem
C:\>update_rubygems --no-ri --no-rdoc

After this, gem --version should report the new update version (2.2.3) which fixes the SSL bug.

--
You received this message because you are subscribed to the Google Groups "RailsInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to railsinstalle...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Bryan Bibat
Freelance Software Engineer
http://www.bryanbibat.net
Reply all
Reply to author
Forward
0 new messages