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 trialTobias Jackson
9,758 Pointsruby install and rvm
I can't install rvm on my mac. Need help! I get this message>
tobiass-MacBook-Pro-3:~ tobiasjackson$ \curl -sSL https://get.rvm.io | bash -s stable Downloading https://github.com/rvm/rvm/archive/1.29.1.tar.gz Downloading https://github.com/rvm/rvm/releases/download/1.29.1/1.29.1.tar.gz.asc gpg: Underskrift lavet Søn 19 Feb 21:02:47 2017 CET gpg: bruger RSA nøgle 62C9E5F4DA300D94AC36166BE206C29FBF04FF17 gpg: God underskrift fra »Michal Papis (RVM signing) mpapis@gmail.com« [ukendt] gpg: også kendt som »Michal Papis michal.papis@toptal.com« [ukendt] gpg: også kendt som »[jpeg image of size 5015]« [ukendt] gpg: ADVARSEL: Denne nøgle er ikke certificeret med en troværdig underskrift! gpg: Intet tyder på at denne signatur tilhører ejeren. Primær nøglefingeraftryk: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3 Undernøglefingeraftryk: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17 GPG verified '/Users/tobiasjackson/.rvm/archives/rvm-1.29.1.tgz'
Upgrading the RVM installation in /Users/tobiasjackson/.rvm/ RVM PATH line found in /Users/tobiasjackson/.mkshrc /Users/tobiasjackson/.profile /Users/tobiasjackson/.bashrc /Users/tobiasjackson/.zshrc. RVM sourcing line found in /Users/tobiasjackson/.profile /Users/tobiasjackson/.bash_profile /Users/tobiasjackson/.zlogin. Upgrade of RVM in /Users/tobiasjackson/.rvm/ is complete.
Tobias Jackson,
Thank you for using RVM!
We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
~Wayne, Michal & team.
In case of problems: https://rvm.io/help and https://twitter.com/rvm_io
Upgrade Notes:
-
WARNING: You have '~/.profile' file, you might want to load it, to do that add the following line to '/Users/tobiasjackson/.bash_profile':
source ~/.profile
No new notes to display.
3 Answers
Brandon McClelland
4,645 PointsAre you sure it didn't install correctly? What happens when you type?
rvm info
Does it state
bash: rvm: command not found
or does it list a bunch of info?
Brandon McClelland
4,645 PointsThen it did install to your Mac. Why do you think it did not?
Tobias Jackson
9,758 PointsBecause when I run rvm | head -n 1 it give this
Warning! PATH is not properly set up, '/Users/tobiasjackson/.rvm/gems/ruby-2.3.1/bin' is not at first place. Usually this is caused by shell initialization files. Search for 'PATH=...' entries. You can also re-add RVM to your profile by running: 'rvm get stable --auto-dotfiles'. To fix it temporarily in this shell session run: 'rvm use ruby-2.3.1'. To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file. <a href="https://www.bountysource.com/teams/rvm?utm_source=RVM&utm_medium=shield&utm_campaign=raised"><img src="https://api.bountysource.com/badge/team?team_id=506&style=raised" align="center"></a> tobiass-MacBook-Pro-3:~ tobiasjackson$
Brandon McClelland
4,645 PointsSounds like you need to check your .bashrc as outlined in this comment here: https://github.com/rvm/rvm/issues/3682#issuecomment-233715333
Tobias Jackson
9,758 PointsTobias Jackson
9,758 Pointsit list bunch of info uby-2.4.0:
system: uname: "Darwin tobiass-MacBook-Pro-3.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64" name: "OSX" version: "10.12" architecture: "x86_64" bash: "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)" zsh: "/bin/zsh => zsh 5.2 (x86_64-apple-darwin16.0)" remote path: "osx/10.12/x86_64"
rvm: version: "rvm 1.29.1 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]" updated: "14 hours 18 minutes 51 seconds ago" path: "/Users/tobiasjackson/.rvm" autolibs: "[disable] Limit RVM automation as much as possible."
ruby: interpreter: "ruby" version: "2.4.0p0" date: "2016-12-24" platform: "x86_64-darwin16" patchlevel: "2016-12-24 revision 57164" full_version: "ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]"
homes: gem: "/Users/tobiasjackson/.rvm/gems/ruby-2.4.0" ruby: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0"
binaries: ruby: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0/bin/ruby" irb: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0/bin/irb" gem: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0/bin/gem" rake: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0/bin/rake"
environment: PATH: "/Users/tobiasjackson/.rvm/gems/ruby-2.4.0/bin:/Users/tobiasjackson/.rvm/gems/ruby-2.4.0@global/bin:/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0/bin:/Users/tobiasjackson/.rvm/bin:/usr/local/opt/file-formula/bin:/Users/tobiasjackson/.rbenv/shims:/Users/tobiasjackson/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" GEM_HOME: "/Users/tobiasjackson/.rvm/gems/ruby-2.4.0" GEM_PATH: "/Users/tobiasjackson/.rvm/gems/ruby-2.4.0:/Users/tobiasjackson/.rvm/gems/ruby-2.4.0@global" MY_RUBY_HOME: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0" IRBRC: "/Users/tobiasjackson/.rvm/rubies/ruby-2.4.0/.irbrc" RUBYOPT: "" gemset: ""