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 trial

Ruby Ruby Foundations Ruby Basics Installing Ruby

error with updating bash_profile

I seem to be having a problem with updating my bash_profile after installing RVM and Ruby 2.1.1.

I added the below text into my bash_profile and closed the terminal. export CC=/usr/bin/gcc-4.2 [[ -s “/Users/levelup/.rvm/scripts/rvm” ]] && source “/Users/levelup/.rvm/scripts/rvm”

However, when going to open up the ruby files I saved to test out the code, such as 2 + 2 etc, I keep receiving the error message:

ruby: No such file or directory -- added.rb (LoadError)

Could anyone help me figure out what's going wrong so I can open up the ruby files and continue with the lessons?

2 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey blake McMullin are you typing "ruby added.rb" from the same directory in which added.rb exists?

Hello Jason, not quite sure what to do there... just downloaded ruby for windows - took the easy way out :)