0

I have installed Ruby on Rails using railsinstaller-3.2.0 [Ruby version:2.2.4 ,Rails version : 5.0.0.1].But while using the command rails new I am confronted with an error 1.

In addition, I am also facing another problem while using bundle install: it returns an exception The system cannot find the path specified.

screen shot of the error

jwir3
  • 6,019
  • 5
  • 47
  • 92

1 Answers1

0

Replace the ssl gem source with non-ssl:

gem sources -r https://rubygems.org/
gem sources -a http://rubygems.org/

execute above command in your command prompt. After that

bundle install

and for creating new application please use this rails new your_new_application_name i,e rails new first_app

Ajay Barot
  • 1,681
  • 1
  • 21
  • 37
  • While I am Using 'bundle' install an exception is raised ie 'The system cannot find the path specified'. – VARKEY VINCENT Nov 19 '16 at 17:17
  • @VARKEYVINCENT: thats another issue please refer this answer to solve that issue. http://stackoverflow.com/a/35680810/2681997 – Ajay Barot Nov 19 '16 at 17:22
  • While every time I type 'rails new your_new_application_name'.I come up with an error for example :-An error occurred while installing turbolinks-source (5.0.0).In order to solve it 'gem install turbolinks-source -v '5.0.0'' – VARKEY VINCENT Nov 21 '16 at 04:57
  • @VARKEYVINCENT: may be this will help you. http://stackoverflow.com/questions/12520456/execjsruntimeerror-on-windows-trying-to-follow-rubytutorial – Ajay Barot Nov 21 '16 at 05:51