<div dir="ltr"><p style="margin:0px 0px 0.357143em;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">Yesterday, because I'm an idiot, I deleted the content of my ~/.zshrc and ~/.bashrc files. Now, I can't start my rails server, console, anything - it says it cant find my gems. Can someone PLEASE answer a few questions. I have been struggling with this for over 12 hours and unable to do the work at my job since my system is down. I have tried putting the paths from 'gem environment' into bashrc</p><p style="margin:0px 0px 0.357143em;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">"<span class="gmail-pln" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">export GEM_PATH</span><span class="gmail-pun" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">=</span><span class="gmail-str" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">/Library/</span><span class="gmail-typ" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(43,145,175)">Ruby</span><span class="gmail-pun" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">/</span><span class="gmail-typ" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(43,145,175)">Gems</span><span class="gmail-pun" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">/</span><span class="gmail-lit" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">1.8</span><span class="gmail-pun" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">/:</span><span class="gmail-pln" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">$</span><span class="gmail-pun" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">{</span><span class="gmail-pln" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">GEM_PATH</span><span class="gmail-pun" style="font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">}"</span></p><p style="margin:0px 0px 0.357143em;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">but it doesn't work.</p><p style="margin:0px 0px 0.357143em;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br>1) Why do I even have both ZSH and Bash? Did homebrew install one?<br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">2) Why did my terminal (iTerm) seem to switch between zsh and bash depending on what program I'm running?</p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">3) Should I delete bash or zsh and focus on fixing the path to my gems?</p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">4) How do I FIND the path to my gems? I have tried 'gem environment' and pasting the output from there (4 lines? 4 environments?) but it doesnt seem to work. I just want my system to work how it did 2 days ago :(</p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">5) How could this have happened to me? Are most devs not stupid enough to delete these files? Im shocked this simple thing has had such devastating consequences. This must be why devs back up their dotfiles on github?</p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">6) Should I focus on installing rails, gems, etc where it IS looking? I keep getting 'cant build for this or that reason' so thats a nonstarter as well. </p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">7) Can someone email me a gist of their ~/.zshrc and ~/.bashrc or ~/.bash_profile? </p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">8) Is there a "stock" one I can use? I can't find an unmodified one on github.</p><p style="margin:0.357143em 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif"><br></p><p style="margin:0.357143em 0px 0px;padding:1px 0px;font-size:14px;line-height:1.3em;font-family:verdana,arial,sans-serif">This whole situation is like, every thread I pull on, something else falls apart. I cannot believe it. Complete disaster. Please help me or kill me and put me out of my misery. I am pulling my hair out here.</p><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Jesse Waites</div><div>Web Developer</div><div><a href="http://JesseWaites.com" target="_blank">JesseWaites.com</a></div></div></div></div></div></div></div></div>
</div>