Git Product home page Git Product logo

rvm-site's Introduction

RVM site and documentation

You can see the documentation live online at https://rvm.io.

Quick corrections

For small changes like single wording fixes it is enough to use GitHub builtin editor, navigate to https://github.com/rvm/rvm-site/tree/master/content, find the page to fix and press the Edit button, try to give meaningful description so it is easier to understand why this change is needed.

Running site locally

If you're going to help you'll first need to get the site running locally. Start by forking the repository and cloning the fork.

Requirements

This site requires a few gems that can be found in Gemfile, including:

To install requirements run

bundle install

Run

If you would like to view the changes locally as you hack, use nanoc-guard:

# in window/tab 1
guard
# in window/tab 2
nanoc view

And then open http://localhost:3000

It's required to reload page after changing code.

Validating site links integrity with Nanoc:

rake test

Thanks

Thanks for taking the time to work on the RVM documentation project!

rvm-site's People

Contributors

agrimm avatar bogdanvlviv avatar changemewtf avatar chrislerum avatar croomes avatar curtismchale avatar derekprior avatar digitalfrost avatar envygeeks avatar foobarwidget avatar franzwr avatar havenwood avatar lemoinem avatar lunks avatar mpapis avatar nickjj avatar peterdavehello avatar pirj avatar pkuczynski avatar rhinton avatar richardkmichael avatar richo avatar rolfb avatar stanigator avatar sutto avatar thewoolleyman avatar tianyicui avatar tibra avatar underpantsgnome avatar wayneeseguin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rvm-site's Issues

best practices page has confusing errant asterisk

"Not only is developing with RVM a good idea, when possible, it is also a good idea to deploy* your application using RVM."

There is no footnote on the page, and no other asterisk anywhere to show what this is about.

1st link on googl for "writting asterisk":

"To summarize, the asterisk is a little star symbol which can be used to indicate a footnote or be used to edit swear words in informal text. A footnote should begin on the bottom of the same page on which the asterisk or other footnote symbol appears. - See more at: http://www.quickanddirtytips.com/education/grammar/how-to-use-an-asterisk#sthash.LQ1ZR8L1.dpuf"

"Chuck Tomasi pointed out that Rich Hall, author of the Sniglets books, made up a name for the feeling you get when you encounter an orphan apostrophe: asterexasperation."

"The first rule for using asterisks is if you use one, make sure the reference starts at the bottom of the same page. "

No reason to force login shells in gnome-terminal

https://rvm.io/integration/gnome-terminal/ seems to imply that the only way to make rvm work correctly is to force login shells.

This just seems to be because the snippet to create the rvm bash function is injected in to ~/.bash_login (when not installing as root) instead of ~/.bashrc (possibly because on some systems ~/.bashrc is run multiple times?).

It seems to me like a simpler solution is just to put the snippet in ~/.bashrc (where it belongs) and wrap it in an if statement that prevents it from running multiple times:

    if ! [[ $(type -t rvm) == "function" ]] && [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
        source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
    fi

Thoughts?

reference to file which does not exist

https://rvm.io/rvm/best-practices
'e.g. check out the rvmrc in the rvm-site(link to this repo) '
however, this repo does not contain an rvmrc file.

Also, the readme file for this repo says
"If you are in RVM and have 2.0.0 already running, simply clone this repository and cd to
the directory. The project .rvmrc will be loaded and you can open in your editor and
start hacking away."

Document .ruby-version

Preference for and use of .ruby-version should be mentioned on the rvmrc page. In particular, discuss compatibility with other Ruby version managers (considering gemsets, etc.).

--source option is doc'd online and in man pages, but isn't recognized by rvm

I'm trying to install a version of ruby from an extracted tar, which i downloaded.

I've seen several examples of the --source option being used. And this option is shown in the man pages and on rvm.io. However, when I use it, the option is not recognized by rvm:

rvm install --source=/Users/dc/dev/src/ruby-1.9.3-p385/ ruby-1.9.3-p384
Unrecognized command line flag: '--source=/Users/dc/dev/src/ruby-1.9.3-p384' ( see: 'rvm usage' )

Add documentation on patch creation

The patching of rubies is documented in Patching Rubies, but it only covers how patches are applied or contributed. I could not find information on the creating of patches.

I tried to apply a patch that I created with svn diff from the official MRI repository, which did not work because rvm could not find the files to patch. Reason was the wrong value of the -p or --strip option used while patching (the base directory name was not included in the created patch, but -p1 was used).

So please add some hints on a) how RVM expects a patch to be created or b) how to change the used -p option when a patch is applied during installation.

Regards,
Marcus

put install link on root page like homebrew

To make it super easy for people to install RVM, can the shell command instructions,

Install RVM with ruby:
$ \curl -L https://get.rvm.io | bash -s stable --ruby

Be on the root index page?

A nanoc bug means external links with query string params can't be validated.

Missing information that user should have sudo rights

That page's instructions include the following:

First ensure that the previous step was successful and that rvm is loaded correctly. To do this, and verify that RVM is loaded as a shell function, run: type rvm | head -1

Assuming this shows "rvm is a function", you're good to go. As an example, to install and use Ruby 2.1.1 you may do:

$ rvm install 2.1.1

However, it is false to assume the user is "good to go" at that point. That is because currently rvm install expects the user to have sudo rights, whereas the user may not in fact have sudo rights - in which case the user is not good to go, and the install attempt may fail.

rvm install 1.9.3 installs rc1, not p0

Not sure if this is viewed as a bug, but it does seem like an unexpected behavior to me, given that Ruby page suggests to use 'rvm install 1.9.3' to get the released version of 1.9.3

This is what I see on my Mac as of today:

ian$ rvm install 1.9.3
 ...
ian$ rvm use 1.9.3
Using /Users/ian/.rvm/gems/ruby-1.9.3-rc1
ian$ ruby -v
ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin11.2.0]

ian$ rvm install 1.9.3-p0
 ...
ian$ rvm use 1.9.3-p0
Using /Users/ian/.rvm/gems/ruby-1.9.3-p0
ian$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

I would expect the p0 to be installed as the default 1.9.3 version, as it is the latest, and the only released version of 1.9.3

Page is too bold

On the support > troubleshooting page there's an unmatched '' tag on line 150 (Html code as viewed from Firefox). All subsequent text is bold. A '' should be inserted after "NOTE: We do NOT support pre-release compilers of any kind."

test links on travis

running nanoc validate-links will show broken links, this could be done during travis tests to avoid deployment with broken links.

Update the design.

If you have ideas post them, if it's something that's easy just edit this and add it.

  • - Convert all the HAML to MD because it's cleaner.
  • - Update the design to be nicer.
  • - Add some webfont love.
  • - Blog w/ RSS so @mpapis can post updates and fun stuffs.
  • - Reorganize the navigation so it's more user friendly (maybe dropdowns?)
  • - Add CLI help as it can be now markdown and could be just copied in-place
  • - Make the lists of sections / menus generated automatically of the list of files

Add docs for `.ruby-env`

Forwarding rvm/rvm#2105 :

  • .ruby-env - var=value
  • .versions.conf - env-var=value
  • Gemfile - #ruby-env-var=value

uses array rvm_saved_env for storing previous values ... not sure if it is unloaded in proper place, but should work.

rvm user not fully documented

$ rvm user
Usage: rvm user [gemsets] [rubies] [hooks] [pkgs] [wrappers] [all] [--skel]

But AFAICS the website only documents the gemsets, rubies, and all parameters.

Doc removal and cleanup.

Ping @mpapis @richardkmichael

To make the cleanup easier we should just start over with the new site, what docs do you guys want combined, where do you want them and what do you want documented (ported over) or added?

After RVM Install, rvm gemdir still points to the (OSX) system install dir in /System/Library/... (on OSX 10.6)

Ive installed rvm a couple of times (at least, always using sudo). This time, after install, the gem's install directory is the system dir not the one under /usr/local/rvm/, yet which gem shows the version under /usr/local/rvm/...

rvm gemdir shows (also see below for the gem env output):
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8

which gem shows that Im running the version in /usr/local/rvm/rubies/ruby-1.9.2-p290/bin and which rvm is /usr/local/rvm/bin/rvm.

How can running gem from the rvm dir STILL be using the system install dir?

Diagnostics:

XCode is 4.0.2 OS is MaxOSX 10.6
Running type rvm | head -1 displays "rvm is a function".

gem list -dl
shows a ton of gems all in /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8

When I run rvm requirements, I see this error:
rvm requirements

Notes for Mac OS X 10.6.8/usr/local/rvm/scripts/functions/utility: line 325: [[: 4.0.2: syntax error: invalid arithmetic operator (error token is ".0.2")
, Xcode 4.0.2.
/usr/local/rvm/scripts/functions/utility: line 325: [[: 4.0.2: syntax error: invalid arithmetic operator (error token is ".0.2")

rvm info

ruby-1.9.2-p290:

system:
uname: "Darwin estero.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
cat: /Users/mike/.rvm/installed.at: No such file or directory

rvm:
version: "rvm 1.10.1 by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.beginrescueend.com/]"
updated: "can not read installation time
"

ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2010-01-10"
platform: "universal-darwin10.0"
patchlevel: "2010-01-10 patchlevel 249"
full_version: "ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]"

homes:
gem: "/usr/local/rvm/gems/ruby-1.9.2-p290"
ruby: "/usr/local/rvm/rubies/ruby-1.9.2-p290"

binaries:
ruby: "/opt/local/bin/ruby"
irb: "/opt/local/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/gem"
rake: "/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/rake"

environment:
PATH: "/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin"
GEM_HOME: "/usr/local/rvm/gems/ruby-1.9.2-p290"
GEM_PATH: "/usr/local/rvm/gems/ruby-1.9.2-p290:/usr/local/rvm/gems/ruby-1.9.2-p290@global"
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.2-p290"
IRBRC: "/usr/local/rvm/rubies/ruby-1.9.2-p290/.irbrc"
RUBYOPT: ""
gemset: ""

RubyGems Environment:

  • RUBYGEMS VERSION: 1.8.10
  • RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin10.8.0]
  • INSTALLATION DIRECTORY: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby
  • EXECUTABLE DIRECTORY: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-darwin-10
  • GEM PATHS:
    • /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
    • "gem" => "--no-ri --no-rdoc"
    • "gempath" => ["/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8"]
    • "gemhome" => "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8"
  • REMOTE SOURCES:

set -x ; rvm --trace gemdir ; set +x

  • : 6 > rvm --trace gemdir
  • /scripts/cli : rvm() 1 > typeset result current_result
  • /scripts/cli : rvm() 3 > [[ -n 3.2.48(1)-release ]]
  • /scripts/cli : rvm() 5 > trap __rvm_teardown_final 0 1 2 3 15
  • /scripts/cli : rvm() 8 > next_token=--trace
  • /scripts/cli : rvm() 9 > [[ 2 -eq 0 ]]
  • /scripts/cli : rvm() 9 > shift
  • /scripts/cli : rvm() 11 > __rvm_initialize
  • /scripts/functions/init : __rvm_initialize() 1 > rvm_ruby_load_path=.
  • /scripts/functions/init : __rvm_initialize() 2 > rvm_ruby_require=
  • /scripts/functions/init : __rvm_initialize() 4 > true /usr/local/rvm/scripts
  • /scripts/functions/init : __rvm_initialize() 5 > source /usr/local/rvm/scripts/base
    ++ /scripts/base : source() -30 > : rvm_trace_flag:0
    ++ /scripts/base : source() -29 > (( rvm_trace_flag > 0 ))
    ++ /scripts/base : source() -15 > [[ 0 > 0 ]]
    ++ /scripts/base : source() -9 > export __array_start rvm_path
    ++ /scripts/base : source() -4 > [[ -n '' ]]
    ++ /scripts/base : source() 0 > __array_start=0
    ++ /scripts/base : source() 3 > (( 0 == 0 ))
    ++ /scripts/base : source() 5 > : rvm_stored_umask:0022
    ++ /scripts/base : source() 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
    ++ /scripts/base : source() 8 > [[ -f /etc/rvmrc ]]
    ++ /scripts/base : source() 10 > grep '^\s_rvm .$' /etc/rvmrc
    ++ /scripts/base : source() 19 > source /etc/rvmrc
    +++ /etc/rvmrc : source() -34 > umask g+w
    ++ /scripts/base : source() 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
    ++ /scripts/base : source() 8 > [[ -f /Users/mike/.rvmrc ]]
    ++ /scripts/base : source() 10 > grep '^\s_rvm .
    $' /Users/mike/.rvmrc
    ++ /scripts/base : source() 19 > source /Users/mike/.rvmrc
    +++ /Users/mike/.rvmrc : source() -34 > rvm_archflags='-arch x86_64'
    ++ /scripts/base : source() 25 > export rvm_path
    ++ /scripts/base : source() 26 > [[ -z /usr/local/rvm ]]
    ++ /scripts/base : source() 38 > true /usr/local/rvm/scripts
    ++ /scripts/base : source() 41 > source /usr/local/rvm/scripts/initialize
    +++ /scripts/initialize : source() -32 > : rvm_trace_flag:0
    +++ /scripts/initialize : source() -31 > (( rvm_trace_flag > 0 ))
    +++ /scripts/initialize : source() -17 > [[ 0 > 0 ]]
    +++ /scripts/initialize : source() -9 > [[ -n 3.2.48(1)-release ]]
    +++ /scripts/initialize : source() -7 > shopt -s extglob
    +++ /scripts/initialize : source() 3 > typeset -f __rvm_cleanse_variables
    +++ /scripts/initialize : source() 5 > __rvm_cleanse_variables
    +++ /scripts/functions/env : __rvm_cleanse_variables() 1 > __rvm_unset_ruby_variables
    +++ /scripts/functions/env : __rvm_unset_ruby_variables() 2 > unset rvm_env_string rvm_ruby_string rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_ruby_load_path rvm_ruby_require rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag
    +++ /scripts/functions/env : __rvm_unset_ruby_variables() 3 > __rvm_load_rvmrc
    +++ /scripts/functions/init : __rvm_load_rvmrc() 1 > typeset file
    +++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
    +++ /scripts/functions/init : __rvm_load_rvmrc() 7 > : rvm_stored_umask:0022
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for file in /etc/rvmrc '"$HOME/.rvmrc"'
    +++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /etc/rvmrc ]]
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s_rvm .
    $' /etc/rvmrc
    +++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /etc/rvmrc
    ++++ /etc/rvmrc : source() -3 > umask g+w
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for file in /etc/rvmrc '"$HOME/.rvmrc"'
    +++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /Users/mike/.rvmrc ]]
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s_rvm .
    $' /Users/mike/.rvmrc
    +++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /Users/mike/.rvmrc
    ++++ /Users/mike/.rvmrc : source() -3 > rvm_archflags='-arch x86_64'
    +++ /scripts/functions/init : __rvm_load_rvmrc() 26 > return 0
    +++ /scripts/functions/env : __rvm_cleanse_variables() 30 > [[ 0 -eq 1 ]]
    +++ /scripts/functions/env : __rvm_cleanse_variables() 33 > unset rvm_gemset_name
    +++ /scripts/functions/env : __rvm_cleanse_variables() 36 > unset rvm_env_string rvm_ruby_string rvm_action rvm_irbrc_file rvm_command rvm_error_message rvm_force_flag rvm_all_flag rvm_reconfigure_flag rvm_make_flags rvm_bin_flag rvm_import_flag rvm_export_flag rvm_self_flag rvm_gem_flag rvm_rubygems_flag rvm_debug_flag rvm_delete_flag rvm_summary_flag rvm_test_flag rvm_spec_flag rvm_json_flag rvm_yaml_flag rvm_shebang_flag rvm_env_flag rvm_tail_flag rvm_use_flag rvm_dir_flag rvm_list_flag rvm_empty_flag rvm_file_name rvm_benchmark_flag rvm_clear_flag rvm_name_flag rvm_verbose_flag rvm_user_flag rvm_system_flag rvm_configure_flags rvm_uninstall_flag rvm_install_flag rvm_llvm_flag rvm_ruby_bits rvm_sticky_flag rvm_rvmrc_flag rvm_gems_flag rvm_only_path_flag rvm_docs_flag rvm_ruby_aliases rvm_patch_names rvm_clang_flag rvm_install_args rvm_dump_environment_flag rvm_ruby_alias rvm_static_flag rvm_archive_extension rvm_hook rvm_ruby_name
    +++ /scripts/functions/env : __rvm_cleanse_variables() 38 > __rvm_load_rvmrc
    +++ /scripts/functions/init : __rvm_load_rvmrc() 1 > typeset file
    +++ /scripts/functions/init : __rvm_load_rvmrc() 2 > (( 0 == 1 ))
    +++ /scripts/functions/init : __rvm_load_rvmrc() 7 > : rvm_stored_umask:0022
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for file in /etc/rvmrc '"$HOME/.rvmrc"'
    +++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /etc/rvmrc ]]
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s_rvm .
    $' /etc/rvmrc
    +++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /etc/rvmrc
    ++++ /etc/rvmrc : source() -3 > umask g+w
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > for file in /etc/rvmrc '"$HOME/.rvmrc"'
    +++ /scripts/functions/init : __rvm_load_rvmrc() 10 > [[ -s /Users/mike/.rvmrc ]]
    +++ /scripts/functions/init : __rvm_load_rvmrc() 12 > command grep '^\s_rvm .
    $' /Users/mike/.rvmrc
    +++ /scripts/functions/init : __rvm_load_rvmrc() 21 > source /Users/mike/.rvmrc
    ++++ /Users/mike/.rvmrc : source() -3 > rvm_archflags='-arch x86_64'
    +++ /scripts/functions/init : __rvm_load_rvmrc() 26 > return 0
    +++ /scripts/initialize : source() 39 > export __rvm_env_loaded
    +++ /scripts/initialize : source() 41 > : __rvm_env_loaded:0:
    +++ /scripts/initialize : source() 43 > : __rvm_env_loaded:1:
    +++ /scripts/initialize : source() 46 > [[ -z '' ]]
    +++ /scripts/initialize : source() 50 > (( 0 == 0 ))
    +++ /scripts/initialize : source() 52 > : rvm_stored_umask:0022
    +++ /scripts/initialize : source() 57 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
    +++ /scripts/initialize : source() 55 > [[ -f /etc/rvmrc ]]
    +++ /scripts/initialize : source() 57 > grep '^\s_rvm .
    $' /etc/rvmrc
    +++ /scripts/initialize : source() 66 > source /etc/rvmrc
    ++++ /etc/rvmrc : source() -3 > umask g+w
    +++ /scripts/initialize : source() 57 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
    +++ /scripts/initialize : source() 55 > [[ -f /Users/mike/.rvmrc ]]
    +++ /scripts/initialize : source() 57 > grep '^\s_rvm .
    $' /Users/mike/.rvmrc
    +++ /scripts/initialize : source() 66 > source /Users/mike/.rvmrc
    ++++ /Users/mike/.rvmrc : source() -3 > rvm_archflags='-arch x86_64'
    +++ /scripts/initialize : source() 72 > export rvm_path
    +++ /scripts/initialize : source() 73 > [[ -z /usr/local/rvm ]]
    +++ /scripts/initialize : source() 85 > true /usr/local/rvm/scripts
    +++ /scripts/initialize : source() 92 > [[ -z '' ]]
    +++ /scripts/initialize : source() 94 > (( UID == 0 ))
    +++ /scripts/initialize : source() 95 > [[ -n /usr/local ]]
    +++ /scripts/initialize : source() 95 > [[ /usr/local != /\U\s\e\r\s/\m\i\k\e ]]
    +++ /scripts/initialize : source() 97 > true /usr/local/share/man
    +++ /scripts/initialize : source() 98 > [[ -z '' ]]
    +++ /scripts/initialize : source() 99 > rvm_rc_files=("/etc/profile" "/etc/zshenv")
    +++ /scripts/initialize : source() 101 > rvm_user_install_flag=0
    +++ /scripts/initialize : source() 107 > [[ -z /etc/profile ]]
    +++ /scripts/initialize : source() 112 > : rvm_bin_path:/usr/local/rvm/bin rvm_man_path:/usr/local/share/man rvm_archives_path:/usr/local/rvm/archives rvm_docs_path:/usr/local/rvm/docs rvm_environments_path:/usr/local/rvm/environments rvm_examples_path:/usr/local/rvm/examples rvm_gems_path:/usr/local/rvm/gems rvm_gemsets_path:/usr/local/rvm/gemsets rvm_help_path:/usr/local/rvm/help rvm_hooks_path:/usr/local/rvm/hooks rvm_lib_path:/usr/local/rvm/lib rvm_log_path:/usr/local/rvm/log rvm_patches_path:/usr/local/rvm/patches rvm_repos_path:/usr/local/rvm/repos rvm_rubies_path:/usr/local/rvm/rubies rvm_rubygems_path:/usr/local/rvm/rubygems rvm_src_path:/usr/local/rvm/src rvm_tmp_path:/usr/local/rvm/tmp rvm_user_path:/usr/local/rvm/user rvm_usr_path:/usr/local/rvm/usr rvm_wrappers_path:/usr/local/rvm/wrappers rvm_verbose_flag:0 rvm_debug_flag:0 rvm_gems_cache_path:/usr/local/rvm/gems/cache
    +++ /scripts/initialize : source() 137 > export rvm_action rvm_alias_expanded rvm_archive_extension rvm_archives_path rvm_bin_flag rvm_bin_path rvm_clang_flag rvm_configure_flags rvm_debug_flag rvm_default_flag rvm_delete_flag rvm_docs_path rvm_docs_type rvm_dump_environment_flag rvm_environments_path rvm_error_message rvm_examples_path rvm_expanding_aliases rvm_file_name rvm_gemdir_flag rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_gemset_separator rvm_gemsets_path rvm_gemstone_package_file rvm_gemstone_url rvm_head_flag rvm_help_path rvm_hook rvm_install_args rvm_install_on_use_flag rvm_lib_path rvm_llvm_flag rvm_loaded_flag rvm_log_path rvm_make_flags rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_names rvm_patch_original_pwd rvm_patches_path rvm_path rvm_pretty_print_flag rvm_prior_cc rvm_proxy rvm_quiet_flag rvm_ree_options rvm_reload_flag rvm_remove_flag rvm_repos_path rvm_rubies_path rvm_ruby_alias rvm_ruby_aliases rvm_ruby_args rvm_ruby_binary rvm_ruby_bits rvm_ruby_configure rvm_ruby_file rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_global_gems_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_load_path rvm_ruby_major_version rvm_ruby_make rvm_ruby_make_install rvm_ruby_minor_version rvm_ruby_mode rvm_ruby_name rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_patch rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_require rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_sha rvm_ruby_string rvm_ruby_strings rvm_ruby_tag rvm_ruby_url rvm_ruby_user_tag rvm_ruby_version rvm_script_name rvm_scripts_path rvm_sdk rvm_user_install_flag rvm_silent_flag rvm_src_path rvm_sticky_flag rvm_system_flag rvm_tmp_path rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_user_path rvm_usr_path rvm_verbose_flag rvm_wrapper_name rvm_wrappers_path rvm_ruby_repo_branch rvm_man_path rvm_architectures
    ++ /scripts/base : source() 80 > case " $rvm_base_except " in
    ++ /scripts/base : source() 81 > source /usr/local/rvm/scripts/selector
    ++ /scripts/base : source() 85 > typeset -a scripts
    ++ /scripts/base : source() 88 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 90 > source /usr/local/rvm/scripts/functions/logging
    +++ /scripts/functions/logging : source() 31 > rvm_pretty_print stdout
    +++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
    +++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
    +++ /scripts/functions/logging : rvm_pretty_print() 7 > [[ -t 1 ]]
    ++++ /scripts/functions/logging : source() 5 > tput setaf 2
    ++++ /scripts/functions/logging : source() 5 > tput sgr0
    +++ /scripts/functions/logging : source() 21 > eval 'rvm_log() { printf "%b" "$
    \n" ; }'
    ++++ /scripts/functions/logging : source() 6 > tput setaf 5
    ++++ /scripts/functions/logging : source() 6 > tput sgr0
    +++ /scripts/functions/logging : source() 22 > eval 'rvm_debug() { printf "%b" "DEBUG: $\n" ; }'
    ++++ /scripts/functions/logging : source() 7 > tput setaf 3
    ++++ /scripts/functions/logging : source() 7 > tput sgr0
    +++ /scripts/functions/logging : source() 23 > eval 'rvm_warn() { printf "%b" "WARN: $
    \n" ; }'
    +++ /scripts/functions/logging : source() 30 > rvm_pretty_print stderr
    +++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
    +++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
    +++ /scripts/functions/logging : rvm_pretty_print() 8 > [[ -t 2 ]]
    ++++ /scripts/functions/logging : source() 16 > tput setaf 1
    ++++ /scripts/functions/logging : source() 16 > tput sgr0
    +++ /scripts/functions/logging : source() 32 > eval 'rvm_error() { printf "%b" "ERROR: $_\n" >&2 ; }'
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/utility
    +++ /scripts/functions/utility : source() -13 > [[ ! =~ --no-same-owner ]]
    +++ /scripts/functions/utility : source() -12 > tar --help
    +++ /scripts/functions/utility : source() -12 > grep -- --no-same-owner
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/init
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/cleanup
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/env
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/rvmrc
    +++ /scripts/functions/rvmrc : source() -13 > export escape_flag _first _second
    +++ /scripts/functions/rvmrc : source() -12 > escape_flag=1
    +++ /scripts/functions/rvmrc : source() -11 > _first=0
    +++ /scripts/functions/rvmrc : source() -10 > _second=1
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/install
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/environment
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/gemset
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/db
    ++ /scripts/base : source() 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : source() 78 > source /usr/local/rvm/scripts/functions/bundler
    ++ /scripts/base : source() 80 > unset scripts entry rvm_base_except
    ++ /scripts/base : source() 82 > [[ ! -t 0 ]]
  • /scripts/functions/init : __rvm_initialize() 26 > __rvm_clean_path
    ++ /scripts/functions/env : __rvm_clean_path() -134 > printf %b /opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin
    ++ /scripts/functions/env : __rvm_clean_path() -134 > awk -v RS=: -v ORS=: '!($0 in a){a[$0];print}'
  • /scripts/functions/env : __rvm_clean_path() 2 > PATH=/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin:
  • /scripts/functions/env : __rvm_clean_path() 3 > PATH=/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/local/apache2/bin:/usr/local/php5/bin:/usr/local/mysql/bin:/usr/share/ant/bin:/Library/Java/Home/bin:/usr/local/idea/bin:/usr/local/Adobe/Acrobat7.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.2-p290/bin:/usr/local/rvm/gems/ruby-1.9.2-p290@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p290/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/Developer/Tools:/Library/PostgreSQL8/bin:/usr/local/tomcat/current/bin:/usr/local/maven/current/bin:/usr/local/git/bin/git:/usr/local/Android/android-sdk-mac_86/tools:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin:/Applications/Firefox.app/Contents/MacOS:/Library/PostgreSQL/9.0/bin
  • /scripts/functions/env : __rvm_clean_path() 5 > export PATH
  • /scripts/functions/env : __rvm_clean_path() 7 > builtin hash -r
  • /scripts/functions/init : __rvm_initialize() -92 > __rvm_conditionally_add_bin_path
  • /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > grep -vF /usr/local/rvm/bin
  • /scripts/functions/env : __rvm_conditionally_add_bin_path() 1 > printf %b '/opt/local/bin /opt/local/sbin /Users/mike/bin /usr/local/apache2/bin /usr/local/php5/bin /usr/local/mysql/bin /usr/share/ant/bin /Library/Java/Home/bin /usr/local/idea/bin /usr/local/Adobe/Acrobat7.0/bin /usr/local/bin /usr/local/sbin /usr/local/rvm/gems/ruby-1.9.2-p290/bin /usr/local/rvm/gems/ruby-1.9.2-p290@global/bin /usr/local/rvm/rubies/ruby-1.9.2-p290/bin /usr/local/rvm/bin /usr/bin /bin /usr/sbin /sbin /usr/X11/bin /usr/local/git/bin /Developer/Tools /Library/PostgreSQL8/bin /usr/local/tomcat/current/bin /usr/local/maven/current/bin /usr/local/git/bin/git /usr/local/Android/android-sdk-mac_86/tools /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin /Applications/Firefox.app/Contents/MacOS /Library/PostgreSQL/9.0/bin'
  • /scripts/functions/env : __rvm_conditionally_add_bin_path() 15 > return 0
  • /scripts/functions/init : __rvm_initialize() -3 > export PATH
  • /scripts/functions/init : __rvm_initialize() -1 > [[ ! -d /usr/local/rvm/tmp ]]
  • /scripts/functions/init : __rvm_initialize() 4 > return 0
  • /scripts/cli : rvm() 748 > __rvm_setup
  • /scripts/functions/environment : __rvm_setup() 3 > (( __rvm_env_loaded != 1 ))
  • /scripts/functions/environment : __rvm_setup() 8 > [[ -n '' ]]
  • /scripts/functions/environment : __rvm_setup() 24 > export __rvm_env_loaded rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_man_path rvm_parse_break rvm_rc_files rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_user_install_flag rvm_token rvm_ruby_load_path rvm_path_flag rvm_ruby_require rvm_action rvm_ruby_package_file rvm_ruby_name rvm_static_flag rvm_export_args rvm_ruby_name rvm_ruby_args rvm_default_flag rvm_gems_cache_path rvm_gemset_separator rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_expanding_aliases rvm_loaded_flag rvm_llvm_flag rvm_architectures rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_patch_names detected_rvm_ruby_name rvm_tar_options
    ++ /scripts/cli : rvm() -249 > cat /usr/local/rvm/VERSION
  • /scripts/cli : rvm() 548 > disk_version=1.10.1
  • /scripts/cli : rvm() 549 > disk_version=1.10.1
  • /scripts/cli : rvm() 553 > [[ -n 1.10.1 ]]
  • /scripts/cli : rvm() 553 > [[ 1.10.1 != \1.\1\0.\1 ]]
  • /scripts/cli : rvm() 559 > __rvm_parse_args gemdir
  • /scripts/cli : __rvm_parse_args() 1 > typeset _string
  • /scripts/cli : __rvm_parse_args() 7 > grep trace
  • /scripts/cli : __rvm_parse_args() 7 > echo gemdir
  • /scripts/cli : __rvm_parse_args() 13 > rvm_action=
  • /scripts/cli : __rvm_parse_args() 15 > export rvm_ruby_string
  • /scripts/cli : __rvm_parse_args() 17 > rvm_parse_break=0
  • /scripts/cli : __rvm_parse_args() 19 > [[ -n --trace ]]
  • /scripts/cli : __rvm_parse_args() 21 > rvm_token=--trace
  • /scripts/cli : __rvm_parse_args() 23 > (( 1 > 0 ))
  • /scripts/cli : __rvm_parse_args() 25 > next_token=gemdir
  • /scripts/cli : __rvm_parse_args() 26 > shift
  • /scripts/cli : __rvm_parse_args() 49 > case "$rvm_token" in
  • /scripts/cli : __rvm_parse_args() 449 > case "$rvm_token" in
  • /scripts/cli : __rvm_parse_args() 709 > typeset option
  • /scripts/cli : __rvm_parse_args() 711 > [[ -n '' ]]
  • /scripts/cli : __rvm_parse_args() 711 > set -o errtrace
  • /scripts/cli : __rvm_parse_args() 714 > [[ --trace == --\t\r\a\c\e ]]
  • /scripts/cli : __rvm_parse_args() 716 > export rvm_trace_flag=1
  • /scripts/cli : __rvm_parse_args() 716 > rvm_trace_flag=1
  • /scripts/cli : __rvm_parse_args() 717 > set -o xtrace
  • /scripts/cli : __rvm_parse_args() 718 > [[ -n '' ]]
  • /scripts/cli : __rvm_parse_args() 719 > export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
  • /scripts/cli : __rvm_parse_args() 719 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
  • /scripts/cli : __rvm_parse_args() 750 > [[ -z '' ]]
  • /scripts/cli : __rvm_parse_args() 750 > [[ -n '' ]]
  • /scripts/cli : __rvm_parse_args() 752 > [[ 0 -eq 1 ]]
  • /scripts/cli : __rvm_parse_args() 752 > [[ -n '' ]]
  • /scripts/cli : __rvm_parse_args() 19 > [[ -n gemdir ]]
  • /scripts/cli : __rvm_parse_args() 21 > rvm_token=gemdir
  • /scripts/cli : __rvm_parse_args() 23 > (( 0 > 0 ))
  • /scripts/cli : __rvm_parse_args() 28 > next_token=
  • /scripts/cli : __rvm_parse_args() 49 > case "$rvm_token" in
  • /scripts/cli : __rvm_parse_args() 53 > case "$rvm_token" in
  • /scripts/cli : __rvm_parse_args() 142 > rvm_ruby_args=gemdir
  • /scripts/cli : __rvm_parse_args() 143 > rvm_action=gemset
  • /scripts/cli : __rvm_parse_args() 144 > rvm_gemdir_flag=1
  • /scripts/cli : __rvm_parse_args() 146 > [[ system == '' ]]
  • /scripts/cli : __rvm_parse_args() 152 > [[ user == '' ]]
  • /scripts/cli : __rvm_parse_args() 750 > [[ -z gemset ]]
  • /scripts/cli : __rvm_parse_args() 752 > [[ 0 -eq 1 ]]
  • /scripts/cli : __rvm_parse_args() 752 > [[ -n '' ]]
  • /scripts/cli : __rvm_parse_args() 19 > [[ -n '' ]]
  • /scripts/cli : __rvm_parse_args() 756 > [[ 0 -gt 0 ]]
  • /scripts/cli : __rvm_parse_args() 758 > [[ -n '' ]]
  • /scripts/cli : rvm() 792 > result=0
  • /scripts/cli : rvm() 794 > rvm_action=gemset
  • /scripts/cli : rvm() 796 > [[ 0 -gt 0 ]]
  • /scripts/cli : rvm() 815 > case "$rvm_action" in
  • /scripts/cli : rvm() 933 > [[ 0 -eq 1 ]]
  • /scripts/cli : rvm() 938 > export rvm_ruby_strings
  • /scripts/cli : rvm() 940 > /usr/local/rvm/scripts/gemsets gemdir
    ++ /scripts/base : 11 > [[ -z '' ]]
    ++ /scripts/base : 16 > export PS4
    ++ /scripts/base : 17 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
    ++ /scripts/base : 26 > export __array_start rvm_path
    ++ /scripts/base : 31 > [[ -n '' ]]
    ++ /scripts/base : 35 > __array_start=0
    ++ /scripts/base : 38 > (( 0 == 0 ))
    +++ /scripts/base : 40 > umask
    ++ /scripts/base : 40 > : rvm_stored_umask:0002
    ++ /scripts/base : 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
    ++ /scripts/base : 43 > [[ -f /etc/rvmrc ]]
    ++ /scripts/base : 45 > grep '^\s_rvm .$' /etc/rvmrc
    ++ /scripts/base : 54 > source /etc/rvmrc
    +++ /etc/rvmrc : 1 > umask g+w
    ++ /scripts/base : 41 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
    ++ /scripts/base : 43 > [[ -f /Users/mike/.rvmrc ]]
    ++ /scripts/base : 45 > grep '^\s_rvm .
    $' /Users/mike/.rvmrc
    ++ /scripts/base : 54 > source /Users/mike/.rvmrc
    +++ /Users/mike/.rvmrc : 1 > rvm_archflags='-arch x86_64'
    ++ /scripts/base : 60 > export rvm_path
    ++ /scripts/base : 61 > [[ -z /usr/local/rvm ]]
    ++ /scripts/base : 73 > true /usr/local/rvm/scripts
    ++ /scripts/base : 76 > source /usr/local/rvm/scripts/initialize
    +++ /scripts/initialize : 3 > : rvm_trace_flag:1
    +++ /scripts/initialize : 4 > (( rvm_trace_flag > 0 ))
    +++ /scripts/initialize : 6 > set -o xtrace
    +++ /scripts/initialize : 9 > [[ -z '' ]]
    +++ /scripts/initialize : 14 > export PS4
    +++ /scripts/initialize : 15 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > '
    +++ /scripts/initialize : 26 > [[ -n 3.2.48(1)-release ]]
    +++ /scripts/initialize : 28 > shopt -s extglob
    +++ /scripts/initialize : 38 > typeset -f __rvm_cleanse_variables
    +++ /scripts/initialize : 43 > export __rvm_env_loaded
    +++ /scripts/initialize : 45 > : __rvm_env_loaded:1:
    +++ /scripts/initialize : 47 > : __rvm_env_loaded:2:
    +++ /scripts/initialize : 50 > [[ -z /usr/local/rvm/tmp ]]
    +++ /scripts/initialize : 50 > (( __rvm_env_loaded == 1 ))
    ++ /scripts/base : 80 > case " $rvm_base_except " in
    ++ /scripts/base : 85 > source /usr/local/rvm/scripts/selector
    ++ /scripts/base : 89 > typeset -a scripts
    ++ /scripts/base : 92 > scripts=(logging utility init cleanup env rvmrc install environment gemset db bundler)
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/logging
    +++ /scripts/functions/logging : 35 > rvm_pretty_print stdout
    +++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
    +++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
    +++ /scripts/functions/logging : rvm_pretty_print() 23 > [[ -t 1 ]]
    ++++ /scripts/functions/logging : 37 > tput setaf 2
    ++++ /scripts/functions/logging : 37 > tput sgr0
    +++ /scripts/functions/logging : 37 > eval 'rvm_log() { printf "%b" "$\n" ; }'
    ++++ /scripts/functions/logging : 38 > tput setaf 5
    ++++ /scripts/functions/logging : 38 > tput sgr0
    +++ /scripts/functions/logging : 38 > eval 'rvm_debug() { printf "%b" "DEBUG: $
    \n" ; }'
    ++++ /scripts/functions/logging : 39 > tput setaf 3
    ++++ /scripts/functions/logging : 39 > tput sgr0
    +++ /scripts/functions/logging : 39 > eval 'rvm_warn() { printf "%b" "WARN: $\n" ; }'
    +++ /scripts/functions/logging : 46 > rvm_pretty_print stderr
    +++ /scripts/functions/logging : rvm_pretty_print() 17 > case "${rvm_pretty_print_flag:=auto}" in
    +++ /scripts/functions/logging : rvm_pretty_print() 22 > case "$1" in
    +++ /scripts/functions/logging : rvm_pretty_print() 24 > [[ -t 2 ]]
    ++++ /scripts/functions/logging : 48 > tput setaf 1
    ++++ /scripts/functions/logging : 48 > tput sgr0
    +++ /scripts/functions/logging : 48 > eval 'rvm_error() { printf "%b" "ERROR: $
    \n" >&2 ; }'
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/utility
    +++ /scripts/functions/utility : 3 > [[ ! =~ --no-same-owner ]]
    +++ /scripts/functions/utility : 4 > tar --help
    +++ /scripts/functions/utility : 4 > grep -- --no-same-owner
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/init
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/cleanup
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/env
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/rvmrc
    +++ /scripts/functions/rvmrc : 3 > export escape_flag _first _second
    +++ /scripts/functions/rvmrc : 4 > escape_flag=1
    +++ /scripts/functions/rvmrc : 5 > _first=0
    +++ /scripts/functions/rvmrc : 6 > _second=1
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/install
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/environment
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/gemset
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/db
    ++ /scripts/base : 93 > for entry in '${scripts[@]}'
    ++ /scripts/base : 94 > source /usr/local/rvm/scripts/functions/bundler
    ++ /scripts/base : 96 > unset scripts entry rvm_base_except
    ++ /scripts/base : 98 > [[ ! -t 0 ]]
  • /scripts/gemsets : 4 > source /usr/local/rvm/scripts/functions/build
  • /scripts/gemsets : 6 > rvm_ruby_gem_home=/usr/local/rvm/gems/ruby-1.9.2-p290
  • /scripts/gemsets : 8 > [[ ! -d /usr/local/rvm/gems/ruby-1.9.2-p290 ]]
  • /scripts/gemsets : 1005 > command -v gem
  • /scripts/gemsets : 1011 > args=($*)
  • /scripts/gemsets : 1012 > action=gemdir
  • /scripts/gemsets : 1013 > args[$__array_start]=
  • /scripts/gemsets : 1014 > args=(${args[@]})
    ++ /scripts/gemsets : 1015 > echo
  • /scripts/gemsets : 1015 > gems_args=
  • /scripts/gemsets : 1017 > export rvm_gemset_name=
  • /scripts/gemsets : 1017 > rvm_gemset_name=
  • /scripts/gemsets : 1018 > rvm_sticky_flag=1
  • /scripts/gemsets : 1020 > [[ -z '' ]]
  • /scripts/gemsets : 1022 > echo /usr/local/rvm/gems/ruby-1.9.2-p290
  • /scripts/gemsets : 1022 > grep rvm
  • /scripts/gemsets : 1024 > rvm_ruby_string=ruby-1.9.2-p290
  • /scripts/gemsets : 1025 > rvm_ruby_string=ruby-1.9.2-p290
  • /scripts/gemsets : 1029 > case "$action" in
  • /scripts/gemsets : 1055 > gemset_info
  • /scripts/gemsets : gemset_info() 834 > (( 0 == 1 ))
  • /scripts/gemsets : gemset_info() 837 > [[ 0 == 1 ]]
  • /scripts/gemsets : gemset_info() 847 > gem env gemdir
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
  • /scripts/gemsets : gemset_info() 849 > return 0
  • /scripts/gemsets : 1083 > exit 0
  • /scripts/cli : rvm() 940 > result=0
  • /scripts/cli : rvm() 942 > rvm_ruby_strings=
  • /scripts/cli : rvm() 945 > [[ 0 -eq 1 ]]
  • /scripts/cli : rvm() 1033 > current_result=0
  • /scripts/cli : rvm() 1034 > (( result > 0 ))
  • /scripts/cli : rvm() 1034 > result=0
  • /scripts/cli : rvm() 1036 > [[ 0 -eq 1 ]]
  • /scripts/cli : rvm() 1048 > __rvm_teardown
  • /scripts/functions/environment : __rvm_teardown() 1 > [[ -d /usr/local/rvm/tmp/92760 ]]
  • /scripts/functions/environment : __rvm_teardown() 6 > export __rvm_env_loaded
  • /scripts/functions/environment : __rvm_teardown() 8 > : __rvm_env_loaded:1:
  • /scripts/functions/environment : __rvm_teardown() 9 > : __rvm_env_loaded:1:
  • /scripts/functions/environment : __rvm_teardown() 11 > : __rvm_env_loaded:0:
  • /scripts/functions/environment : __rvm_teardown() 13 > [[ -z /usr/local/rvm/tmp ]]
  • /scripts/functions/environment : __rvm_teardown() 13 > (( __rvm_env_loaded > 0 ))
  • /scripts/functions/environment : __rvm_teardown() 18 > [[ -n '' ]]
  • /scripts/functions/environment : __rvm_teardown() 27 > :
  • /scripts/functions/environment : __rvm_teardown() 34 > (( 0 > 0 ))
  • /scripts/functions/environment : __rvm_teardown() 44 > [[ -n 0022 ]]
  • /scripts/functions/environment : __rvm_teardown() 46 > umask 0022
  • /scripts/functions/environment : __rvm_teardown() 58 > unset __rvm_env_loaded rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_man_path rvm_parse_break rvm_rc_files rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_user_install_flag rvm_token rvm_ruby_load_path rvm_path_flag rvm_ruby_require rvm_action rvm_ruby_package_file rvm_ruby_name rvm_static_flag rvm_export_args rvm_ruby_name rvm_ruby_args rvm_default_flag rvm_gems_cache_path rvm_gemset_separator rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_expanding_aliases rvm_loaded_flag rvm_llvm_flag rvm_architectures rvm_skip_autoreconf_flag rvm_18_flag rvm_19_flag rvm_force_autoconf_flag rvm_autoconf_flags rvm_patch_names detected_rvm_ruby_name rvm_tar_options
  • /scripts/functions/environment : __rvm_teardown() 60 > (( 0 == 1 ))
  • /scripts/functions/environment : __rvm_teardown() 65 > trap - 0 1 2 3 15
  • /scripts/functions/environment : __rvm_teardown() 67 > return 0
  • /scripts/cli : rvm() 790 > : rvm_trace_flag:1
  • /scripts/cli : rvm() 791 > (( rvm_trace_flag > 0 ))
  • /scripts/cli : rvm() 793 > set +o verbose
  • /scripts/cli : rvm() 794 > set +o xtrace

Update instructions at https://rvm.io/integration/vagrant

[15:39] <dawkirst> Hi, Im trying to set up RVM inside a vagrant machine. Site recommends adding a line to /etc/profile (https://rvm.io/integration/vagrant) but /usr/local/lib/rvm is empty. AFAIK I did do a root install (prefixing command with sudo). Any ideas?

[15:44] <mpapis> dawkirst, it's all wrong, open a ticket for rvm-site to provide new and working instructions, I will look into it a bit later today

OSX menu font

matiaskorhonen> [09:22:20] Hey, the fonts in the navigation seem to be wonky on Chrome (OS X): http://s3itch.kiskolabs.net/RVM.io_fonts_20140428_102214.png
matiaskorhonen> [09:23:06] The text looks all fuzzy and whatnot…
matiaskorhonen> [09:27:22] I thibnk this might be because the URL to the woff/ttf/etc files on google fonts is hard coded in screen.css (instead of linking to the CSS that google provides). Since Google Fonts serves different files to different clients, the version that’s been linked to is probably sub-optimal for my browser.
matiaskorhonen> [09:40:59] The 10px font size doesn’t help, but open sans does look a lot better even at that size on the Google Fonts preview page: http://s3itch.kiskolabs.net/Google_Fonts_20140428_102513_20140428_104020.png

Travis should test the SSL certificate validity.

It would be nice to avoid SSL certificate expiration surprises as reported today on the mailing list:

curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Ruby 2.1+ doc updates- should specify minor release vs. patch release version as best practice?

This isn't a huge deal, but prior to my last update I had:

$ rvm list known
# MRI Rubies
[ruby-]1.8.6[-p420]
[ruby-]1.8.7[-p374]
[ruby-]1.9.1[-p431]
[ruby-]1.9.2[-p320]
[ruby-]1.9.3[-p484]
[ruby-]2.0.0-p195
[ruby-]2.0.0[-p353]
[ruby-]2.1.0
[ruby-]2.1.0-head
ruby-head
...

and after:

$ rvm get stable

I now have:

$ rvm list known
# MRI Rubies
[ruby-]1.8.6[-p420]
[ruby-]1.8.7[-p374]
[ruby-]1.9.1[-p431]
[ruby-]1.9.2[-p320]
[ruby-]1.9.3[-p545]
[ruby-]2.0.0-p353
[ruby-]2.0.0[-p451]
[ruby-]2.1.1
[ruby-]2.1-head
ruby-head
...

So, 2.1.0 was dropped in known and replaced by 2.1.1. I'm guessing that the reason 2.1.0 was dropped is Ruby's change in 2.1 to using rational versioning (instead of point-release versioning).

My issue is that I had been using the patch number in .ruby-version for prior releases, so I had with ruby 2.1 also, e.g.:

2.1.0

But, I think I should instead be using (?):

2.1

I know it may seem better to be more specific, but if that patch release is just going to be yanked from known rubies, I'm guessing it is not a good idea to specify it?

And, since that is the case, I think maybe https://rvm.io/rvm/install and other docs on the rvm site might want to note (not sure?) that, starting with ruby 2.1, instead of specifying the patch release number (e.g. 2.1.0), only the minor should be specified instead (e.g. 2.1).

Maybe this could be done with the doc cleanup/changes for rvm 2.

Content updates

  • Add RVM2 presentation(s)
  • Clean up development instructions to correspond to RVM's HACKING.md
  • Remove Passenger2 instructions

XTerm integration command is incorrect

On the page https://rvm.io/integration/xterm/ it is said:

For RVM to work properly, you have to set 'loginShell true' in your $HOME/.xtermrc file,

However, this doesn't work. The correct thing to do is:

For RVM to work properly, you have to set 'xterm*loginShell: true' in your $HOME/.Xdefaults file, and run 'xrdb $HOME/.Xdefaults'

Redesign of the RVM site

Hi there,
I was wondering if you would like me to redesign the RVM site as it can be very confusing for beginners. I use RVM all the time and I find it confusing going through the different options myself :)

Cron integration documentation outdated?

Spoke to @mpapis briefly in IRC about calling ruby scripts from cron with RVM integration. I was trying to call the environment file directly at $HOME/.rvm/gems/ruby-2.0.0-p353@global/environment but getting Permission denied error (no execute permission).

I was told to use wrappers, the docs (https://github.com/rvm/rvm-site/blob/master/content/deployment/cron.haml) say "For every installed ruby and created gemset RVM creates wrappers for basic command line tools like gem, rake, ruby. You can find them in $rvm_path/bin."

I just had:

rvm-auto-ruby    rvm-shebang-ruby  rvmsudo
ruby-rvm-env     rvm-exec          rvm-shell
rvm              rvm-prompt        rvm-smile

Wasn't sure what these did and couldn't find much info, so I created a wrapper with rvm wrapper 2.0.0 ruby2 ruby and now call /home/meritec/.rvm/bin/ruby2_ruby /path/to/my/ruby/script.rb in my cron and that seems to do the trick.

I'm still not sure I've done this the recommended way, but should the cron page be updated to make it all a bit clearer?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.