Error starting Http server in Ruby

0

Hello everyone, I'm new to Ruby and I'm trying to create my first project but when I start the server with the command rails server I get this error:

João@joao-note MINGW64 ~/Documents/Desenvolvimento/Rails/Primeiro_Projeto/hello (master)
$ rails server
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/bundler/definition.rb:22:inbuild': C:/Users/Joǜo/Documents/Desenvolvimento/Rails/Primeiro_Projeto/hello/Gemfile not found (Bundler::GemfileNotFound)
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/bundler.rb:120:in definition'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/bundler.rb:88:insetup'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/bundler/setup.rb:18:in <top (required)>'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:inrequire'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in rescue in require'
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:inrequire'
from C:/Users/João/Documents/Desenvolvimento/Rails/Primeiro_Projeto/hello/config/boot.rb:3:in <top (required)>'
from bin/rails:3:inrequire_relative'
from bin/rails:3:in <main>

I already installed the bundle with the command bundle install

But I still have this error. Does anyone know why?

Thank you in advance for the help.

Hugs

    
asked by anonymous 13.12.2016 / 21:45

2 answers

1

You could reinstall ruby in another way .. I already used railsInstaller but I did not like it very much .. you can try installing it by here (download also the devkit compatible with the version), until the same version. After downloading extract the dev kit, access the extracted folder through the terminal and run:

ruby dk.rb init

ruby dk.rb install

gem install rails

Access your project folder from the terminal and run the

bundle install
    
12.01.2017 / 16:33
0

I reinstalled through the source code and everything worked out.

Thank you all.

    
10.02.2017 / 19:42