VKent / City

0 stars 0 forks source link

Local Server will not launch #1

Open VKent opened 11 years ago

VKent commented 11 years ago

rails vic:~ vic$ rails s /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in default_options': undefined methodwrite_inheritable_attribute' for Rails::Generator::Base:Class (NoMethodError) from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in <class:Base>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:85:inmodule:Generator' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:48:in <module:Rails>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:6:in<top (required)>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator.rb:37:in <top (required)>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/bin/rails:15:in<top (required)>' from /Users/vic/.rbenv/versions/1.9.3-p194/bin/rails:23:in load' from /Users/vic/.rbenv/versions/1.9.3-p194/bin/rails:23:in

' vic:~ vic$ rails --debug /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in default_options': undefined methodwrite_inheritable_attribute' for Rails::Generator::Base:Class (NoMethodError) from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in <class:Base>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:85:inmodule:Generator' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:48:in <module:Rails>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:6:in<top (required)>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator.rb:37:in <top (required)>' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/bin/rails:15:in<top (required)>' from /Users/vic/.rbenv/versions/1.9.3-p194/bin/rails:23:in load' from /Users/vic/.rbenv/versions/1.9.3-p194/bin/rails:23:in
' vic:~ vic$ gem uninstall rails

Select gem to uninstall:

  1. rails-2.3.14
  2. rails-3.2.9
  3. All versions

    y Error: must enter a number [1-3] vic:~ vic$ 3 -bash: 3: command not found vic:~ vic$ gem uninstall rails

Select gem to uninstall:

  1. rails-2.3.14
  2. rails-3.2.9
  3. All versions

    3 Remove executables: rails

in addition to the gem? [Yn] y Removing rails Successfully uninstalled rails-2.3.14 Successfully uninstalled rails-3.2.9 vic:~ vic$ gem install rails Fetching: rails-3.2.9.gem (100%) Successfully installed rails-3.2.9 1 gem installed Installing ri documentation for rails-3.2.9... Installing RDoc documentation for rails-3.2.9... vic:~ vic$ pwd /Users/vic vic:~ vic$ ls Apartment Homes Pricing | Erickson Living at Maris Grove.webarchive Applications Desktop Documents Downloads Library Movies Music Pancake Breakfast.pdf Pictures Public Rooms in St John.xls SLMA Forbearance.pdf Sites Untitled.txt dl.txt results.html si_log.txt webct_upload_applet.properties vic:~ vic$ cd document -bash: cd: document: No such file or directory vic:~ vic$ cd Documents vic:Documents vic$ ls 54.doc Parallels 6th Grade Summer 2009 Lesson Plan.doc Presentation1.pptx 7th Grade Summer 2009 Lesson Plan.doc Presentation2.pptx About Stacks.pdf Pretty Good Solitaire Adobe RM BPI.dvdproj Budget Shorts.pages Recommendation for Brian Zulberti.pdf Clear Short Sales Resume.pages Contact Numbers.pages Tatnall Street Playground Short.pdf Draft one Speech.doc Tatnall Street Playground.doc GRADES.xls Tatnall Street Playground.pdf GradesSumemr School (version 1).xls TechnologyReferences.xls GradesSumemr School.xls Temporary Printing Window 14.pdf Intervention Algebra.doc Temporary Printing Window 22.pdf Lesson Plans 7th Grade.pages Temporary Printing Window.pdf Lesson Plans 8th Grade.pages Unnamed Site 2 Lesson Plans.pages Untitled Markets and Competitive Strategy.docx Untitled 2.doc Microsoft User Data Untitled 3.doc MsFix'em.xls WebEx My Music Workbook2.xlsx My Pictures chase_michael_pinwheel.jpg My RoboForm Data neighborhood.doc My Videos rails_projects NDA SG,llc.pages recommendation for Brian Zulberti.doc NDA SG,llc.pdf wellness_5stepLRG.jpg vic:Documents vic$ cd rails_projects vic:rails_projects vic$ ls city omrails vic:rails_projects vic$ mkdir try_2 vic:rails_projects vic$ cd try_2 vic:try_2 vic$ cd - /Users/vic/Documents/rails_projects vic:rails_projects vic$ rails new try_2 rbenv: rails: command not found vic:rails_projects vic$ rails new project rbenv: rails: command not found vic:rails_projects vic$ cd try_2 vic:try_2 vic$ rails new rbenv: rails: command not found vic:try_2 vic$ rails new proj_2 rbenv: rails: command not found vic:try_2 vic$ rails -h rbenv: rails: command not found vic:try_2 vic$ rails -v rbenv: rails: command not found vic:try_2 vic$ gem check -v ERROR: While executing gem ... (OptionParser::MissingArgument) missing argument: -v vic:try_2 vic$ gem check --alien Performing the 'alien' operation

NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::SourceIndex.from_installed_gems called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/validator.rb:87. NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use Specification.dirs. It will be removed on or after 2011-11-01. Gem::SourceIndex.installed_spec_directories called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:47. NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::SourceIndex.from_gems_in called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:47. NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#initialize called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:67. NOTE: Gem::SourceIndex#spec_dirs= is deprecated, use Specification.dirs=. It will be removed on or after 2011-11-01. Gem::SourceIndex#spec_dirs= called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:94. NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#refresh! called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:95. NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#load_gems_in called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:322. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/source_index.rb:127. NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#each called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/validator.rb:87. NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It will be removed on or after 2011-10-01. Gem::Specification#installation_path called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/validator.rb:90. NOTE: Gem.cache_gem is deprecated, use Specification#cache_file. It will be removed on or after 2011-11-01. Gem.cache_gem called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/validator.rb:91. NOTE: Gem.cache_dir is deprecated, use Specification#cache_dir. It will be removed on or after 2011-11-01. Gem.cache_dir called from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems.rb:732. ERROR: While executing gem ... (NoMethodError) undefined method add' for #<String:0x4dd9c4> vic:try_2 vic$ gem install rails --no-ri --no-rdoc Successfully installed rails-3.2.9 1 gem installed vic:try_2 vic$ bundle install Could not locate Gemfile vic:try_2 vic$ rails new project rbenv: rails: command not found vic:try_2 vic$ echo $PATH /Users/vic/.rbenv/bin:/Users/vic/.rbenv/shims:/Users/vic/.rbenv/bin:/Users/vic/.rbenv/shims:/Users/vic/.rbenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin vic:try_2 vic$ ls -l /usr/bin/ruby lrwxr-xr-x 1 root wheel 76 Jan 31 2009 /usr/bin/ruby -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby vic:try_2 vic$ rbenv prefix system /usr/bin vic:try_2 vic$ rbenv version 1.9.3-p194 (set by /Users/vic/.rbenv/version) vic:try_2 vic$ ruby --version ruby 1.9.3p194 (2012-04-20 revision 35410) [i386-darwin9.8.0] vic:try_2 vic$ rbenv global rbx-1.2.4 rbenv: versionrbx-1.2.4' not installed vic:try_2 vic$ git clone git://github.com/sstephenson/rbenv.git .rbenv Cloning into '.rbenv'... remote: Counting objects: 1040, done. remote: Compressing objects: 100% (413/413), done. remote: Total 1040 (delta 649), reused 962 (delta 599) Receiving objects: 100% (1040/1040), 138.43 KiB, done. Resolving deltas: 100% (649/649), done. vic:try_2 vic$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile vic:try_2 vic$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile vic:try_2 vic$ cd - /Users/vic/Documents/rails_projects vic:rails_projects vic$ cd - /Users/vic/Documents/rails_projects/try_2 vic:try_2 vic$ cd - /Users/vic/Documents/rails_projects vic:rails_projects vic$ cd - /Users/vic/Documents/rails_projects/try_2 vic:try_2 vic$ cd - /Users/vic/Documents/rails_projects vic:rails_projects vic$ ls city omrails try_2 vic:rails_projects vic$ cd - /Users/vic/Documents/rails_projects/try_2 vic:try_2 vic$ cd - /Users/vic/Documents/rails_projects vic:rails_projects vic$ cd .. vic:Documents vic$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile vic:Documents vic$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile vic:Documents vic$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile vic:Documents vic$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile vic:Documents vic$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build Cloning into '/Users/vic/.rbenv/plugins/ruby-build'... remote: Counting objects: 1365, done. remote: Compressing objects: 100% (595/595), done. remote: Total 1365 (delta 706), reused 1272 (delta 623) Receiving objects: 100% (1365/1365), 152.11 KiB, done. Resolving deltas: 100% (706/706), done. vic:Documents vic$ source ~/.bash_profile vic:Documents vic$ brew update error: pathspec 'master' did not match any file(s) known to git. Error: Failure while executing: git checkout -q master vic:Documents vic$ cd /usr/local vic:local vic$ git checkout -f fatal: You are on a branch yet to be born vic:local vic$ git checkout origin/master error: pathspec 'origin/master' did not match any file(s) known to git. vic:local vic$ git checkout fatal: You are on a branch yet to be born vic:local vic$ mate .git/modules/ -bash: mate: command not found vic:local vic$ ls -a . .gitignore Library etc opt .. CONTRIBUTING.md README.md include share .git Cellar bin lib var vic:local vic$ cd .git vic:.git vic$ ls -a . FETCH_HEAD config hooks objects .. HEAD description info refs vic:.git vic$ mkdir modules vic:.git vic$ git submodule fatal: /usr/local/Cellar/git/1.8.0.1/libexec/git-core/git-submodule cannot be used without a working tree. vic:.git vic$ git status fatal: This operation must be run in a work tree vic:.git vic$ .git/config -bash: .git/config: No such file or directory vic:.git vic$ git fetch error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/mxcl/homebrew/info/refs?service=git-upload-pack fatal: HTTP request failed vic:.git vic$ git remote add usage: git remote add []

-f, --fetch           fetch the remote branches
--tags                import all tags and associated objects when fetching
                      or do not fetch any tag at all (--no-tags)
-t, --track <branch>  branch(es) to track
-m, --master <branch>
                      master branch
--mirror[=<push|fetch>]
                      set up remote as a mirror to push to or fetch from

vic:.git vic$ git remote add -f usage: git remote add []

-f, --fetch           fetch the remote branches
--tags                import all tags and associated objects when fetching
                      or do not fetch any tag at all (--no-tags)
-t, --track <branch>  branch(es) to track
-m, --master <branch>
                      master branch
--mirror[=<push|fetch>]
                      set up remote as a mirror to push to or fetch from

vic:.git vic$ git fetch error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/mxcl/homebrew/info/refs?service=git-upload-pack fatal: HTTP request failed vic:.git vic$ git clone -n git+ssh://user@host:22/var/www/vhosts/build newbuild Cloning into 'newbuild'... ssh: Could not resolve hostname host: nodename nor servname provided, or not known fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. vic:.git vic$ cd newbuild -bash: cd: newbuild: No such file or directory vic:.git vic$ git init Initialized empty Git repository in /usr/local/.git/.git/ vic:.git vic$ git add . vic:.git vic$ git commit -m "intial checkin" [master (root-commit) d60ef00] intial checkin Committer: Vic vic@vic.local Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

12 files changed, 462 insertions(+) create mode 100644 FETCH_HEAD create mode 100644 HEAD create mode 100644 config create mode 100644 description create mode 100755 hooks/applypatch-msg.sample create mode 100755 hooks/commit-msg.sample create mode 100755 hooks/post-update.sample create mode 100755 hooks/pre-applypatch.sample create mode 100755 hooks/pre-commit.sample create mode 100755 hooks/pre-rebase.sample create mode 100755 hooks/prepare-commit-msg.sample create mode 100755 hooks/update.sample create mode 100644 info/exclude vic:.git vic$ git branch -m non-master-branch vic:.git vic$ vic:.git vic$ git branch -m non-master-branch vic:.git vic$ git checkout -b master Switched to a new branch 'master' vic:.git vic$ rails -h Usage: /usr/bin/rails /path/to/your/app [options]

Options: -r, --ruby=path Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path). Default: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -d, --database=name Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite2/sqlite3). Default: sqlite3 --freeze Freeze Rails in vendor/rails from the gems generating the skeleton Default: false

Rails Info: -v, --version Show the Rails version number and quit. -h, --help Show this help message and quit.

General Options: -p, --pretend Run but do not make any changes. -f, --force Overwrite files that already exist. -s, --skip Skip files that already exist. -q, --quiet Suppress normal output. -t, --backtrace Debugging: show backtrace on errors. -c, --svn Modify files with subversion. (Note: svn must be in path)

Description: The 'rails' command creates a new Rails application with a default directory structure and configuration at the path you specify.

Example: rails ~/Code/Ruby/weblog

This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.

WARNING: Only specify --without-gems if you did not use gems to install Rails. Your application will expect to find activerecord, actionpack, and actionmailer directories in the vendor directory. A popular way to track the bleeding edge of Rails development is to checkout from source control directly to the vendor directory. See http://dev.rubyonrails.com vic:.git vic$ cd .. vic:local vic$ cd .. vic:usr vic$ ls X11 bin lib local share X11R6 include libexec sbin standalone vic:usr vic$ cd .. vic:/ vic$ ls -a . Untitled.prproj .. User Guides And Information .DS_Store Users .Spotlight-V100 Volumes .Trashes bin .com.apple.timemachine.supported cores .fseventsd debug.log .hotfiles.btree dev .vol etc Adobe Premiere Pro Auto-Save home Adobe Premiere Pro Preview Files index.php Applications mach_kernel Desktop DB mach_kernel.ctfsys Desktop DF net Developer obcectc Encoded Files objectivec ExamView Pro private Installer Log File response_card_sdk.log Library response_card_sdk.log.lck Network sbin Print Member Listing Report.pdf tmp RoR Try usr SeaMonkey var System vic:/ vic$ cd Users vic:Users vic$ ls -a . .. .localized Shared tutortime vic vic:Users vic$ cd vic vic:~ vic$ ls -a . .. .CFUserTextEncoding .DS_Store .Trash .Xauthority .Xcode .adobe .alkqpqirc .bash_history .bash_profile .bfglF6001T2L1 .config .cups .filezilla .fontconfig .fonts.cache-1 .frozen-bubble .gem .jnlp-applet .local .mailcap .mime.types .njmeabvn .rbenv .rcsdk .rnd .wapi .wine Apartment Homes Pricing | Erickson Living at Maris Grove.webarchive Applications Desktop Documents Downloads Library Movies Music Pancake Breakfast.pdf Pictures Public Rooms in St John.xls SLMA Forbearance.pdf Sites Untitled.txt dl.txt results.html si_log.txt webct_upload_applet.properties vic:~ vic$ cd Documents vic:Documents vic$ ls -a . NDA SG,llc.pages .. NDA SG,llc.pdf .DS_Store Parallels .localized Presentation1.pptx .parallels-vm-directory Presentation2.pptx 54.doc Pretty Good Solitaire 6th Grade Summer 2009 Lesson Plan.doc RM BPI.dvdproj 7th Grade Summer 2009 Lesson Plan.doc Recommendation for Brian Zulberti.pdf About Stacks.pdf Resume.pages Adobe Tatnall Street Playground Short.pdf Budget Shorts.pages Tatnall Street Playground.doc Clear Short Sales Tatnall Street Playground.pdf Contact Numbers.pages TechnologyReferences.xls Draft one Speech.doc Temporary Printing Window 14.pdf GRADES.xls Temporary Printing Window 22.pdf GradesSumemr School (version 1).xls Temporary Printing Window.pdf GradesSumemr School.xls Unnamed Site 2 Intervention Algebra.doc Untitled Lesson Plans 7th Grade.pages Untitled 2.doc Lesson Plans 8th Grade.pages Untitled 3.doc Lesson Plans.pages WebEx Markets and Competitive Strategy.docx Workbook2.xlsx Microsoft User Data chase_michael_pinwheel.jpg MsFix'em.xls neighborhood.doc My Music rails_projects My Pictures recommendation for Brian Zulberti.doc My RoboForm Data wellness_5stepLRG.jpg My Videos vic:Documents vic$ cd rails_projects vic:rails_projects vic$ cd city vic:city vic$ rails s create
create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create components create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/mocks/development create test/mocks/test create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create public/.htaccess create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/breakpointer create script/console create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log vic:city vic$ cd .. vic:rails_projects vic$ ls -a . .. .DS_Store city omrails try_2 vic:rails_projects vic$ cd try_2 vic:try_2 vic$ rails new v_2 create
create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create components create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/mocks/development create test/mocks/test create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create public/.htaccess create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/breakpointer create script/console create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log vic:try_2 vic$ rails s create
create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create components create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/mocks/development create test/mocks/test create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create public/.htaccess create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/breakpointer create script/console create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log vic:try_2 vic$ cd .. vic:rails_projects vic$ rails -h Usage: /usr/bin/rails /path/to/your/app [options]

Options: -r, --ruby=path Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path). Default: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -d, --database=name Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite2/sqlite3). Default: sqlite3 --freeze Freeze Rails in vendor/rails from the gems generating the skeleton Default: false

Rails Info: -v, --version Show the Rails version number and quit. -h, --help Show this help message and quit.

General Options: -p, --pretend Run but do not make any changes. -f, --force Overwrite files that already exist. -s, --skip Skip files that already exist. -q, --quiet Suppress normal output. -t, --backtrace Debugging: show backtrace on errors. -c, --svn Modify files with subversion. (Note: svn must be in path)

Description: The 'rails' command creates a new Rails application with a default directory structure and configuration at the path you specify.

Example: rails ~/Code/Ruby/weblog

This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.

WARNING: Only specify --without-gems if you did not use gems to install Rails. Your application will expect to find activerecord, actionpack, and actionmailer directories in the vendor directory. A popular way to track the bleeding edge of Rails development is to checkout from source control directly to the vendor directory. See http://dev.rubyonrails.com vic:rails_projects vic$ ls -a . .. .DS_Store city omrails try_2 vic:rails_projects vic$ -h -bash: -h: command not found vic:rails_projects vic$ rails -h Usage: /usr/bin/rails /path/to/your/app [options]

Options: -r, --ruby=path Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path). Default: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -d, --database=name Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite2/sqlite3). Default: sqlite3 --freeze Freeze Rails in vendor/rails from the gems generating the skeleton Default: false

Rails Info: -v, --version Show the Rails version number and quit. -h, --help Show this help message and quit.

General Options: -p, --pretend Run but do not make any changes. -f, --force Overwrite files that already exist. -s, --skip Skip files that already exist. -q, --quiet Suppress normal output. -t, --backtrace Debugging: show backtrace on errors. -c, --svn Modify files with subversion. (Note: svn must be in path)

Description: The 'rails' command creates a new Rails application with a default directory structure and configuration at the path you specify.

Example: rails ~/Code/Ruby/weblog

This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.

WARNING: Only specify --without-gems if you did not use gems to install Rails. Your application will expect to find activerecord, actionpack, and actionmailer directories in the vendor directory. A popular way to track the bleeding edge of Rails development is to checkout from source control directly to the vendor directory. See http://dev.rubyonrails.com vic:rails_projects vic$ rails -v Rails 1.2.6 vic:rails_projects vic$ rails new myapp create
create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create components create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/mocks/development create test/mocks/test create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create public/.htaccess create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/breakpointer create script/console create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log vic:rails_projects vic$ cd myapp -bash: cd: myapp: No such file or directory vic:rails_projects vic$ ls -a . .. .DS_Store city new omrails vic:rails_projects vic$ cd new vic:new vic$ rails server create
create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create components create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/mocks/development create test/mocks/test create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create public/.htaccess create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/breakpointer create script/console create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log vic:new vic$ gem update rails Updating installed gems Nothing to update vic:new vic$ rails -v Rails 1.2.6 vic:new vic$ gem update --system Updating rubygems-update Fetching: rubygems-update-1.8.24.gem (100%) Successfully installed rubygems-update-1.8.24 Installing RubyGems 1.8.24 /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/commands/update_command.rb:194: warning: Insecure world writable dir /Users/vic in PATH, mode 040777 setup.rb:21: warning: Insecure world writable dir /Users/vic in PATH, mode 040777 RubyGems 1.8.24 installed

== 1.8.24 / 2012-04-27

  • 1 bug fix:
    • Install the .pem files properly. Fixes #320
    • Remove OpenSSL dependency from the http code path

RubyGems installed the following executables: /Users/vic/.rbenv/versions/1.9.3-p194/bin/gem

RubyGems system software updated vic:new vic$ rails -v Rails 1.2.6 vic:new vic$ sudo gem update --system Password: Latest version currently installed. Aborting. vic:new vic$ sudo gem install rails Successfully installed rails-3.2.9 1 gem installed Installing ri documentation for rails-3.2.9... Installing RDoc documentation for rails-3.2.9... vic:new vic$ sudo gem update rake Updating installed gems Nothing to update vic:new vic$ sudo gem update sqlite3-ruby Updating installed gems Nothing to update vic:new vic$ rails -v Rails 1.2.6 vic:new vic$ gem list

* LOCAL GEMS *

actionmailer (3.2.9, 2.3.14) actionpack (3.2.9, 2.3.14) activemodel (3.2.9) activerecord (3.2.9, 2.3.14) activeresource (3.2.9, 2.3.14) activesupport (3.2.9, 2.3.14) acts_as_tree (0.1.1) addressable (2.3.2) arel (3.0.2) bcrypt-ruby (3.0.1) bigdecimal (1.1.0) bootstrap-sass (2.2.1.1) builder (3.0.4) bundler (1.2.2) chunky_png (1.2.6) coffee-rails (3.2.2) coffee-script (2.2.0) coffee-script-source (1.4.0) compass (0.12.2) compass-rails (1.0.3) delocalize (0.2.6) devise (2.1.2) erubis (2.7.0) excon (0.16.10) execjs (1.4.0) ffi (1.2.0) fssm (0.2.9) haml (3.1.7) heroku (2.33.2) heroku-api (0.3.7) highline (1.6.15) hike (1.2.1) i18n (0.6.1) io-console (0.3) journey (1.0.4) jquery-rails (2.1.4) json (1.7.5) launchy (2.1.2) mail (2.4.4) mime-types (1.19) minitest (2.5.1) multi_json (1.4.0) netrc (0.7.7) nice-ffi (0.4) orm_adapter (0.4.0) polyglot (0.3.3) rack (1.4.1, 1.1.3) rack-cache (1.2) rack-ssl (1.3.2) rack-test (0.6.2) radius (0.7.3) rails (3.2.9) railties (3.2.9) rake (10.0.2, 0.9.2.2) rdoc (3.12) RedCloth (4.2.9) rest-client (1.6.7) ruby-sdl-ffi (0.4) rubygame (2.6.4) rubygems-update (1.8.24) rubyzip (0.9.9) sass (3.2.3) sass-rails (3.2.5) sprockets (2.2.2) sqlite3 (1.3.6) stringex (1.3.3) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35) uglifier (1.3.0) warden (1.2.1) will_paginate (2.3.16) vic:new vic$ rails s create
create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create components create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/mocks/development create test/mocks/test create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create public/.htaccess create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/breakpointer create script/console create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log vic:new vic$ ls -a . Rakefile config lib s test .. app db log script tmp README components doc public server vendor vic:new vic$

VKent commented 11 years ago

RUNNING MAC OX10.5.8

vics:city vic$ gem install radiant Error message: vics:omrails vic$ rails s
/Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in default_options': undefined methodwrite_inheritable_attribute' for Rails::Generator::Base:Class (NoMethodError)
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in <class:Base>'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:85:inmodule:Generator'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:48:in <module:Rails>'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:6:in<top (required)>'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in require'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator.rb:37:in <top (required)>'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from /Users/vic.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in require'
from /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rails-2.3.14/bin/rails:15:in<top (required)>'
from /Users/vic/.rbenv/versions/1.9.3-p194/bin/rails:23:in load'
from /Users/vic/.rbenv/versions/1.9.3-p194/bin/rails:23:in

' I asked for Environment and it asked me to overwrite test files and still no server:

vic-kents:new vic$ gem environment RubyGems Environment:

  • RUBYGEMS VERSION: 1.8.24
  • RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [i386-darwin9.8.0]
  • INSTALLATION DIRECTORY: /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1
  • RUBY EXECUTABLE: /Users/vic/.rbenv/versions/1.9.3-p194/bin/ruby
  • EXECUTABLE DIRECTORY: /Users/vic/.rbenv/versions/1.9.3-p194/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-darwin-9
  • GEM PATHS:
    • /Users/vic/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1
    • /Users/vic/.gem/ruby/1.9.1
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
    • http://rubygems.org/ vic-kents:new vic$ rails s exists
      exists app/controllers exists app/helpers exists app/models exists app/views/layouts exists config/environments exists components exists db exists doc exists lib exists lib/tasks exists log exists public/images exists public/javascripts exists public/stylesheets exists script/performance exists script/process exists test/fixtures exists test/functional exists test/integration exists test/mocks/development exists test/mocks/test exists test/unit exists vendor exists vendor/plugins exists tmp/sessions exists tmp/sockets exists tmp/cache exists tmp/pids identical Rakefile identical README identical app/controllers/application.rb identical app/helpers/application_helper.rb identical test/test_helper.rb identical config/database.yml identical config/routes.rb identical public/.htaccess identical config/boot.rb identical config/environment.rb identical config/environments/production.rb identical config/environments/development.rb identical config/environments/test.rb identical script/about identical script/breakpointer identical script/console identical script/destroy identical script/generate identical script/performance/benchmarker identical script/performance/profiler identical script/process/reaper identical script/process/spawner identical script/process/inspector identical script/runner identical script/server identical script/plugin overwrite public/dispatch.rb? [Ynaqd] y force public/dispatch.rb overwrite public/dispatch.cgi? [Ynaqd] y force public/dispatch.cgi overwrite public/dispatch.fcgi? [Ynaqd] y force public/dispatch.fcgi identical public/404.html identical public/500.html identical public/index.html identical public/favicon.ico identical public/robots.txt identical public/images/rails.png identical public/javascripts/prototype.js identical public/javascripts/effects.js identical public/javascripts/dragdrop.js identical public/javascripts/controls.js identical public/javascripts/application.js identical doc/README_FOR_APP identical log/server.log identical log/production.log identical log/development.log identical log/test.log