1
vote
1answer
201 views

Can't run 'rails' inside Tmux session in Terminal

I just tried rails inside a tmux session in iTerm2 and it returns as -bash: /usr/bin/rails: /usr/bin/ruby: bad interpreter: No such file or directory I can run rails outside of tmux . I am using ...
0
votes
1answer
102 views

Fix bash_profile to Develop Ruby on Rails Apps

I just installed Ruby and Rails stuff on my machine, and start to learn. But every time I close the Terminal and re-open it, I have to re-type the command . ~/.bash_profile in order to run Rails ...
0
votes
1answer
31 views

rails didnt install correclty, specificly the uninstaller

ive just installed rails using railsinstaller.org for osx, rails and ruby seem to be working ok (checked by running rails -v, ruby --version and ruby --help). But when it installed i got an error ...
2
votes
1answer
2k views

curl: (7) couldn't connect to host

I know some people have asked this question before but I don't understand some of the answers. I'm a Mac user trying to instal Homebrew but I keep getting this error message: curl: (7) couldn't ...
0
votes
2answers
306 views

How do I input Terminal commands when running a rails server?

I just started using Rails a few days ago, and I'm having trouble with terminal commands. The textbook I am reading keeps telling me to run Terminal commands while having a Rails server running. This ...
1
vote
2answers
3k views

Ruby/gem installation paths scattered all over, cause?

can you help me understand my ruby folder structure? I don't understand why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first: ...