Skip to content

Instantly share code, notes, and snippets.

@SpoBo
Created February 7, 2010 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SpoBo/297595 to your computer and use it in GitHub Desktop.
Save SpoBo/297595 to your computer and use it in GitHub Desktop.
mbp:code spobo$ rvm implode
Are you SURE you wish for rvm to implode? This will remove /Users/spobo/.rvm ? (type 'yes' or 'no')
yes
Hai! Removing /Users/spobo/.rvm
-bash: /Users/spobo/.rvm/scripts/log: No such file or directory
mbp:code spobo$ mkdir -p ~/.rvm/src/ && cd ~/.rvm/src && rm -rf ./rvm/ && git clone git://github.com/wayneeseguin/rvm.git && cd rvm && ./install
Initialized empty Git repository in /Users/spobo/.rvm/src/rvm/.git/
remote: Counting objects: 8875, done.
remote: Compressing objects: 100% (2405/2405), done.
remote: Total 8875 (delta 5643), reused 8326 (delta 5265)
Receiving objects: 100% (8875/8875), 1.30 MiB | 351 KiB/s, done.
Resolving deltas: 100% (5643/5643), done.
Installing rvm to /Users/spobo/.rvm/ ...
rvm - shell scripts that allows a user to manage multiple ruby versions in their own account.
**** NOTICE *************************************************************************************
* The rubies install path has moved to $rvm_path/rubies/ instead of directly in $rvm_path. *
* If you encounter any issues with a ruby your best bet is to 'rvm remove X ; rvm install X' *
* Gems are now per interpreter installation instead of per interpreter/version *
* so for example to upgrade an older install of 1.8.6 and preserve gems: *
* rm -rf ~/.rvm/gems/ruby-1.8.6-p383 ; mv ~/.rvm/gems/ruby/1.8.6 ~/.rvm/gems/ruby-1.8.6-p383 *
*************************************************************************************************
Notes for Darwin ( Mac OS X )
* For Snow Leopard be sure to have XCode Tools Version 3.2.1 (1613) or later (there were bugs with the dvd release version).
* You should download the latest XCode tools from developer.apple.com. This is necessary since the dvd install for Snow Leopard has bugs.
* If you intend on installing MacRuby you must install LLVM first.
* If you intend on installing JRuby you must install the JDK.
* If you intend on installing IronRuby you must install Mono (version 2.6 or greater is recommended).
RTFM: http://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm
********************************************************************************
spobo,
Thank you for using rvm. I hope that it makes your work easier and more enjoyable.
If you have any questions, issues and/or ideas for improvement please hop in #rvm on irc.freenode.net and let me know.
My irc nickname is 'wayneeseguin' and I hang out from ~09:00-17:00EST and again from ~21:00EST-~00:00EST.
If I do not respond right away, please hang around after asking your question, I will respond as soon as I am back.
w⦿‿⦿t!
~ Wayne
********************************************************************************
You must now finish the install manually:
1) Place the folowing line at the end of your shell's loading files(.bashrc and then .bash_profile for bash and .zshrc for zsh), after all path/variable settings:
if [[ -s /Users/spobo/.rvm/scripts/rvm ]] ; then source /Users/spobo/.rvm/scripts/rvm ; fi
2) Ensure that there is no 'return' from inside the .bashrc file. (otherwise rvm will be prevented from working properly).
3) CLOSE THIS SHELL and open a new one in order to use rvm.
Last login: Sun Feb 7 13:08:19 on ttys000
mbp:~ spobo$ rvm install 1.9.1
Installing Ruby from source to: /Users/spobo/.rvm/rubies/ruby-1.9.1-p378
Downloading ruby-1.9.1-p378, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8862k 100 8862k 0 0 383k 0 0:00:23 0:00:23 --:--:-- 357k
Extracting ruby-1.9.1-p378 ...
Configuring ruby-1.9.1-p378, this may take a while depending on your cpu(s)...
Compiling ruby-1.9.1-p378, this may take a while, depending on your cpu(s)...
Installing ruby-1.9.1-p378
Installation of ruby-1.9.1-p378 is complete.
Updating rubygems for ruby-1.9.1-p378
Installing gems for ruby-1.9.1-p378.
Installing rake
Installation of gems for ruby-1.9.1-p378 is complete.
mbp:~ spobo$ rvm info
rvm 0.1.11 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
system:
uname: "Darwin mbp.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386"
shell: "bash"
version: "3.2.48(1)-release"
ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2008-08-11"
platform: "universal-darwin10.0"
patchlevel: "2008-08-11 patchlevel 72"
full_version: "ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]"
homes:
gem: "'not set'"
ruby: "'not set'"
binaries:
ruby: "/usr/bin/ruby"
irb: "/usr/bin/irb"
gem: "/usr/bin/gem"
rake: "/Users/spobo/.gem/ruby/1.8/bin/rake"
environment:
GEM_HOME: ""
GEM_PATH: ""
MY_RUBY_HOME: ""
IRBRC: ""
mbp:~ spobo$ rvm use 1.9.1
Now using ruby 1.9.1 p378
mbp:~ spobo$ rvm info
rvm 0.1.11 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
system:
uname: "Darwin mbp.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386"
shell: "bash"
version: "3.2.48(1)-release"
ruby:
interpreter: "ruby"
version: "1.9.1p378"
date: "2010-01-10"
platform: "i386-darwin10.2.0"
patchlevel: "2010-01-10 revision 26273"
full_version: "ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.2.0]"
homes:
gem: "/Users/spobo/.rvm/gems/ruby-1.9.1-p378"
ruby: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378"
binaries:
ruby: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/ruby"
irb: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/irb"
gem: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/gem"
rake: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/rake"
environment:
GEM_HOME: "/Users/spobo/.rvm/gems/ruby-1.9.1-p378"
GEM_PATH: "/Users/spobo/.rvm/gems/ruby-1.9.1-p378:/Users/spobo/.rvm/gems/ruby-1.9.1-p378%global"
MY_RUBY_HOME: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378"
IRBRC: "/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/.irbrc"
mbp:~ spobo$ gem -v
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/gem:4: warning: Insecure world writable dir /Users/spobo in PATH, mode 040777
1.3.5
mbp:~ spobo$ gem install i18n tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/gem:4: warning: Insecure world writable dir /Users/spobo in PATH, mode 040777
Successfully installed i18n-0.3.3
Successfully installed tzinfo-0.3.16
Successfully installed builder-2.1.2
Successfully installed memcache-client-1.7.8
Successfully installed rack-1.1.0
Successfully installed rack-test-0.5.3
Successfully installed rack-mount-0.4.5
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.5
Successfully installed activesupport-2.3.5
Successfully installed mime-types-1.16
Successfully installed mail-2.1.2
Successfully installed text-hyphen-1.0.0
Successfully installed text-format-1.0.0
Successfully installed thor-0.13.0
Due to a rubygems bug, you must uninstall all older versions of bundler for 0.9 to work
Successfully installed bundler-0.9.3
16 gems installed
Installing ri documentation for i18n-0.3.3...
Installing ri documentation for tzinfo-0.3.16...
Installing ri documentation for builder-2.1.2...
Installing ri documentation for memcache-client-1.7.8...
Installing ri documentation for rack-1.1.0...
Installing ri documentation for rack-test-0.5.3...
Installing ri documentation for rack-mount-0.4.5...
Installing ri documentation for abstract-1.0.0...
Installing ri documentation for erubis-2.6.5...
Installing ri documentation for activesupport-2.3.5...
Installing ri documentation for mime-types-1.16...
Installing ri documentation for mail-2.1.2...
Installing ri documentation for text-hyphen-1.0.0...
Installing ri documentation for text-format-1.0.0...
Installing ri documentation for thor-0.13.0...
Installing ri documentation for bundler-0.9.3...
Updating class cache with 1561 classes...
Installing RDoc documentation for i18n-0.3.3...
Installing RDoc documentation for tzinfo-0.3.16...
Installing RDoc documentation for builder-2.1.2...
Installing RDoc documentation for memcache-client-1.7.8...
Installing RDoc documentation for rack-1.1.0...
Installing RDoc documentation for rack-test-0.5.3...
Installing RDoc documentation for rack-mount-0.4.5...
Installing RDoc documentation for abstract-1.0.0...
Installing RDoc documentation for erubis-2.6.5...
Installing RDoc documentation for activesupport-2.3.5...
Installing RDoc documentation for mime-types-1.16...
Installing RDoc documentation for mail-2.1.2...
Installing RDoc documentation for text-hyphen-1.0.0...
Installing RDoc documentation for text-format-1.0.0...
Installing RDoc documentation for thor-0.13.0...
Installing RDoc documentation for bundler-0.9.3...
mbp:~ spobo$ gem install rails --pre
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/gem:4: warning: Insecure world writable dir /Users/spobo in PATH, mode 040777
Successfully installed activesupport-3.0.0.beta
Successfully installed activemodel-3.0.0.beta
Successfully installed actionpack-3.0.0.beta
Successfully installed arel-0.2.pre
Successfully installed activerecord-3.0.0.beta
Successfully installed activeresource-3.0.0.beta
Successfully installed actionmailer-3.0.0.beta
Successfully installed railties-3.0.0.beta
Successfully installed rails-3.0.0.beta
9 gems installed
Installing ri documentation for activesupport-3.0.0.beta...
Installing ri documentation for activemodel-3.0.0.beta...
Installing ri documentation for actionpack-3.0.0.beta...
Installing ri documentation for arel-0.2.pre...
Installing ri documentation for activerecord-3.0.0.beta...
Installing ri documentation for activeresource-3.0.0.beta...
Installing ri documentation for actionmailer-3.0.0.beta...
Installing ri documentation for railties-3.0.0.beta...
Installing ri documentation for rails-3.0.0.beta...
Updating class cache with 2897 classes...
Installing RDoc documentation for activesupport-3.0.0.beta...
Installing RDoc documentation for activemodel-3.0.0.beta...
Installing RDoc documentation for actionpack-3.0.0.beta...
Installing RDoc documentation for arel-0.2.pre...
Installing RDoc documentation for activerecord-3.0.0.beta...
Installing RDoc documentation for activeresource-3.0.0.beta...
Installing RDoc documentation for actionmailer-3.0.0.beta...
Installing RDoc documentation for railties-3.0.0.beta...
Installing RDoc documentation for rails-3.0.0.beta...
mbp:~ spobo$ gem install sqlite3-ruby
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/bin/gem:4: warning: Insecure world writable dir /Users/spobo in PATH, mode 040777
Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.2.5
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.5...
Updating class cache with 3301 classes...
Installing RDoc documentation for sqlite3-ruby-1.2.5...
mbp:~ spobo$ pw
pwd pwd_mkdb pwpolicy
mbp:~ spobo$ pw
pwd pwd_mkdb pwpolicy
mbp:~ spobo$ pwd
/Users/spobo
mbp:~ spobo$ cd code/
mbp:code spobo$ rails -v
Rails 3.0.0.beta
mbp:code spobo$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.2.0]
mbp:code spobo$ rails billable_v1
create
create README
create .gitignore
create Rakefile
create config.ru
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/models
create app/views/layouts
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/cookie_verification_secret.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/session_store.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create log
create log/server.log
create log/production.log
create log/development.log
create log/test.log
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/application.js
create public/javascripts/controls.js
create public/javascripts/dragdrop.js
create public/javascripts/effects.js
create public/javascripts/prototype.js
create public/javascripts/rails.js
create script
create script/rails
create test
create test/performance/browsing_test.rb
create test/test_helper.rb
create test/fixtures
create test/functional
create test/integration
create test/unit
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
mbp:code spobo$ cd billable_v1/
mbp:billable_v1 spobo$ rails server
/Users/spobo/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta/bin/rails:2: warning: Insecure world writable dir /Users/spobo in PATH, mode 040777
WARNING: #<NoMethodError: undefined method `>' for nil:NilClass>
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{rake}
s.version = "0.8.7"
# etc etc etc etc ...
# heeft te maken met rubygems v1.3.5.
# Met v1.3.1 zou het wel moeten werken maar rails heeft een dependency met 1.3.5.
# Zou binnenkort een fix voor uitkomen.
WARNING: Invalid .gemspec format in '/Users/spobo/.rvm/gems/ruby-1.9.1-p378/specifications/tzinfo-0.3.16.gemspec'
=> Booting WEBrick
=> Rails 3.0.0.beta application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:14: warning: already initialized constant VERSION
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:14: warning: already initialized constant RubyGemsVersion
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:194: warning: already initialized constant MUTEX
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:196: warning: already initialized constant RubyGemsPackageVersion
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:202: warning: already initialized constant WIN_PATTERNS
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:1079: warning: already initialized constant MARSHAL_SPEC_DIR
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems.rb:1084: warning: already initialized constant YAML_SPEC_DIR
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:72: warning: already initialized constant VERSION_PATTERN
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:20: warning: already initialized constant OPS
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:30: warning: already initialized constant OP_RE
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:246: warning: already initialized constant Requirement
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:18: warning: already initialized constant TYPES
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb:171: warning: already initialized constant RUBY
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb:177: warning: already initialized constant CURRENT
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:39: warning: already initialized constant NONEXISTENT_SPECIFICATION_VERSION
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:50: warning: already initialized constant CURRENT_SPECIFICATION_VERSION
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:56: warning: already initialized constant SPECIFICATION_VERSION_HISTORY
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:72: warning: already initialized constant MARSHAL_FIELDS
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:75: warning: already initialized constant TODAY
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:593: warning: already initialized constant Cache
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:14: warning: already initialized constant DEFAULT_BACKTRACE
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:15: warning: already initialized constant DEFAULT_BENCHMARK
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:16: warning: already initialized constant DEFAULT_BULK_THRESHOLD
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:17: warning: already initialized constant DEFAULT_VERBOSITY
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:18: warning: already initialized constant DEFAULT_UPDATE_SOURCES
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:24: warning: already initialized constant OPERATING_SYSTEM_DEFAULTS
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:30: warning: already initialized constant PLATFORM_DEFAULTS
/Users/spobo/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:53: warning: already initialized constant SYSTEM_WIDE_CONFIG_FILE
[2010-02-07 19:54:43] INFO WEBrick 1.3.1
[2010-02-07 19:54:43] INFO ruby 1.9.1 (2010-01-10) [i386-darwin10.2.0]
[2010-02-07 19:54:43] INFO WEBrick::HTTPServer#start: pid=67193 port=3000
Started GET "/rails/info/properties" for 127.0.0.1 at 2010-02-07 19:55:05
Processing by Rails::InfoController#properties as JS
SQL (0.3ms) SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
Rendered inline template (0.4ms)
Completed in 29ms (Views: 0.8ms | ActiveRecord: 0.3ms) with 200
^C[2010-02-07 19:55:13] INFO going to shutdown ...
[2010-02-07 19:55:13] INFO WEBrick::HTTPServer#start done.
Exiting
mbp:billable_v1 spobo$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment