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