Created
July 29, 2011 21:22
-
-
Save dbrady/1114768 to your computer and use it in GitHub Desktop.
RVM choking on rspec even when rspec isn't there, not remembering .rvmrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I just created the pants/ folder and put this .rvmrc in it: | |
# | |
# rvm use ruby-1.9.2 | |
# | |
# Note that rake 0.8.7 is the only gem in my global gemset, so | |
# rspec ISN'T EVEN INSTALLED NOW. | |
15:19:50 dbrady@shinything:~/devel/pants ruby-1.9.2-p290@coffer | |
∫ . .rvmrc | |
Using /Users/dbrady/.rvm/gems/ruby-1.9.2-p290 | |
15:19:56 dbrady@shinything:~/devel/pants ruby-1.9.2-p290 | |
∫ ls | |
15:19:58 dbrady@shinything:~/devel/pants ruby-1.9.2-p290 | |
∫ mkdir lib | |
15:20:01 dbrady@shinything:~/devel/pants ruby-1.9.2-p290 | |
∫ cd lib | |
rspec: No such file or directory | |
0.00 real 0.00 user 0.00 sys | |
Usage: | |
db database_file {{key}} {{value}} # set | |
db database_file {{key}} # get | |
db database_file {{key}} unset # unset | |
=============================================================== | |
= NOTICE: = | |
=============================================================== | |
= RVM has encountered a new or modified .rvmrc file in the = | |
= current working directory. Resource files may execute = | |
= arbitrary instructions, so RVM will not use an .rvmrc file = | |
= that has not been explicitly marked as 'trusted.' = | |
= = | |
= Examine the contents of this file carefully to be sure the = | |
= contents are good before trusting it! = | |
= = | |
= You will now be given a chance to read the .rvmrc file = | |
= before deciding whether or not its contents are safe. After = | |
= reading the file, you will be prompted 'yes or no' to set = | |
= the trust level for this particular version of the file. = | |
= = | |
= Note: You will be re-prompted each time the .rvmrc file = | |
= changes, and may change the trust setting manually at any = | |
= time. = | |
=============================================================== | |
(press enter to review the .rvmrc file) | |
y | |
rvm use ruby-1.9.2 | |
Examination of /Users/dbrady/devel/pants/.rvmrc is now complete. | |
================================================================ | |
= Trusting an .rvmrc file means that whenever you cd into this = | |
= directory, RVM will run this .rvmrc script in your shell. = | |
= = | |
= If the contents of the file change, you will be re-prompted = | |
= to review the file and adjust its trust settings. You may = | |
= also change the trust settings manually at any time with = | |
= the 'rvm rvmrc' command. = | |
= = | |
= Now that you have examined the contents of the file, do you = | |
= wish to trust this particular .rvmrc? = | |
================================================================ | |
Yes or No: [y/N]? y | |
rspec: No such file or directory | |
0.00 real 0.00 user 0.00 sys | |
rspec: No such file or directory | |
0.00 real 0.00 user 0.00 sys | |
rspec: No such file or directory | |
0.00 real 0.00 user 0.00 sys | |
15:20:04 dbrady@shinything:~/devel/pants/lib ruby-1.9.2-p290 | |
∫ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment