Text
Rails Install Problem
Hi there! I was formatting my PC and IĀ had to reinstall Ruby and Rails, when I try to start a new project I had this error:
# Rails Environment Configuration. C:/RailsInstaller/scripts/config_check.rb:28:in ``': No such file or directory - C:/RailsInstaller/Git/bin/git.exe config --global user.name (Errno::ENOENT) Ā Ā Ā Ā from C:/RailsInstaller/scripts/config_check.rb:28:in `run' Ā Ā Ā Ā from C:/RailsInstaller/scripts/config_check.rb:40:in `git_config' Ā Ā Ā Ā from C:/RailsInstaller/scripts/config_check.rb:49:in `block in <main>' Ā Ā Ā Ā from C:/RailsInstaller/scripts/config_check.rb:48:in `each' Ā Ā Ā Ā from C:/RailsInstaller/scripts/config_check.rb:48:in `<main>'
And I look in many places until I could fix it by changing config_check.rb as follows:Ā
#<ā just above Config = line gitpath = ""\"" + `where git`.strip! + "\"" gitfound = gitpath.index('git.exe') if gitfound.nil? Ā gitpath = File.join(File.dirname(File.dirname($0)), "Git", "bin", "git.exe") end Config = Ā { Ā #just modify the :git Ā Ā :git Ā Ā Ā Ā => gitpath, Ā #leave the other unmodified Ā } #ignore this comments
And it worked!! I hope this solution helps someone :) !!
[References]Ā
https://github.com/railsinstaller/railsinstaller-windows/issues/48
0 notes
Text
University Workshops | WS01 - Computational Simulation | Generation of Pseudo-Random Number
Hey there! Here the first workshop that i have to do for the subjet Computer Simulation, there is the github link with all the data, I do it in Java but i want to know if you know other language in witch i can do it :)
Hey there!! Here is the first workshop I had to do for the subject of Computational Simulation, here is the link of github with all the information.
I implement it in java but I want to know if you know of another language in which it could have done :)
0 notes
Text
Starting the Blog
Good Morning!! This blog will be a compilation of all the rare and not so rare things that I learned and I will learn in my career as a Software Engineer, I hope you like it, and iitās useful to you !! Thank you very much for stopping by :)
0 notes