Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Ryan
Courses Plus Student 14,981 PointsRuby issues
At the end after installing all the gems he goes to his treehouse directory??? What am I suppose to type?
2 Answers
Salman Akram
Courses Plus Student 40,065 PointsHi David,
Because he has a file called "treehouse" in the desktop, I think Jason Seifer doesn't explain very well.
Let me help you.
- Go to your desktop - let's type in your terminal: "cd Desktop"
- then create new file - type: "rails new treehouse" (you will find new folder called treehouse in the desktop)
- then locate file you create - type: "cd treehouse"
then see the lists inside the file - type: "ls"
then lastly to run server - type: "rails s" or "rails server"
now open your Chrome browser - type : http://localhost:3000
Hope that helps. :)
Salman Akram
Courses Plus Student 40,065 PointsHi David,
Sure! Can you type below:
first - "brew install libyaml" and then - "rvm reinstall 2.2.2"
Let me know.
David Ryan
Courses Plus Student 14,981 PointsSalman please see below:
All commands can be run with -h (or --help) for more information. Davids-MacBook-Pro:treehouse DavidRyan$ brew install libyaml /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0 Davids-MacBook-Pro:treehouse DavidRyan$ rvm reinstall 2.2.2 -bash: rvm: command not found Davids-MacBook-Pro:treehouse DavidRyan$
Salman Akram
Courses Plus Student 40,065 PointsOh you have to leave treehouse folder to the root outside. Let's type: "cd "
and then do same the following methods - first - "brew install libyaml" and then - "rvm reinstall 2.2.2"
David Ryan
Courses Plus Student 14,981 PointsDavid Ryan
Courses Plus Student 14,981 PointsHello and thanks! Can you help me with this:
In addition to those, there are:
All commands can be run with -h (or --help) for more information. Davids-MacBook-Pro:treehouse DavidRyan$