On Mon, Jul 23, 2012 at 1:19 PM, Nung Bedell <[email protected]> wrote: > I found this project and am somewhat determined to get this to work on my > Mac running Lion. > I've installed RVM and am targeting Ruby 1.8.7 and Rails 2 since other > attempts to get it to work have also failed. As I worked through the two > installation options (quick and then the manual) I am getting closer to > getting this to run. > > Here is my RVM info: > > ruby-1.8.7-p370@lvl2: > > system: > uname: "Darwin Yoshis-MacBook-Pro.local 11.4.0 Darwin Kernel > Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; > root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64" > bash: "/bin/bash => GNU bash, version 3.2.48(1)-release > (x86_64-apple-darwin11)" > zsh: "/bin/zsh => zsh 4.3.11 (i386-apple-darwin11.0)" > > rvm: > version: "rvm 1.14.6 (master) by Wayne E. Seguin > <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]" > updated: "1 day 17 hours 39 minutes 55 seconds ago" > > ruby: > interpreter: "ruby" > version: "1.8.7" > date: "2012-06-29" > platform: "i686-darwin11.4.0" > patchlevel: "2012-06-29 patchlevel 370" > full_version: "ruby 1.8.7 (2012-06-29 patchlevel 370) > [i686-darwin11.4.0]" > > homes: > gem: "/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2" > ruby: "/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370" > > binaries: > ruby: "/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/bin/ruby" > irb: "/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/bin/irb" > gem: "/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/bin/gem" > rake: "/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2/bin/rake" > > environment: > PATH: > "/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2/bin:/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@global/bin:/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/bin:/Users/yoshi/.rvm/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/mysql/bin" > GEM_HOME: "/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2" > GEM_PATH: > "/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2:/Users/yoshi/.rvm/gems/ruby-1.8.7-p370@global" > MY_RUBY_HOME: "/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370" > IRBRC: "/Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/.irbrc" > RUBYOPT: "" > gemset: "lvl2" > > > > and here is the gem list i am using. I installed each gem when the rake > db:create:all would complain > > actionmailer (3.2.6, 2.3.5, 2.2.2) > actionpack (3.2.6, 2.3.5, 2.2.2) > activemodel (3.2.6) > activerecord (3.2.6, 2.3.5, 2.2.2) > activeresource (3.2.6, 2.3.5, 2.2.2) > activesupport (3.2.6, 2.3.5, 2.2.2) > arel (3.0.2) > builder (3.0.0) > bundler (0.9.9) > coffee-rails (3.2.2) > coffee-script (2.2.0) > coffee-script-source (1.3.3) > erubis (2.7.0) > execjs (1.4.0) > hike (1.2.1) > i18n (0.6.0) > journey (1.0.4) > jquery-rails (2.0.2) > json (1.7.3) > mail (2.4.4) > mime-types (1.19) > multi_json (1.3.6) > polyglot (0.3.3) > rack (1.4.1, 1.0.1) > rack-cache (1.2) > rack-ssl (1.3.2) > rack-test (0.6.1) > rails (2.3.5) > railties (3.2.6) > rake (0.9.2.2) > rdoc (3.12) > RedCloth (4.2.9) > rflickr (2006.02.01) > rmagick (2.13.1) > rubygems-bundler (1.0.3) > rvm (1.11.3.5) > sass (3.1.20) > sass-rails (3.2.5) > sprockets (2.1.3) > sqlite3 (1.3.6) > thor (0.15.4) > tilt (1.3.3) > treetop (1.4.10) > tzinfo (0.3.33) > uglifier (1.2.6) > > > Now when i execute rake db:create:all I get this error and cant figure out > where to go from here. > > Yoshis-MacBook-Pro:lovdbyless yoshi$ rake db:create:all > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/yaml.rb:132:in `load': > syntax error on line 2, col 8: ` specs:' (ArgumentError) > from > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/yaml.rb:132:in `load' > from > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/yaml.rb:143:in > `load_file' > from > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/yaml.rb:142:in `open' > from > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/yaml.rb:142:in > `load_file' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2/gems/bundler-0.9.9/lib/bundler/definition.rb:16:in > `from_lock' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2/gems/bundler-0.9.9/lib/bundler.rb:84:in > `definition' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2/gems/bundler-0.9.9/lib/bundler.rb:76:in > `load' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:41:in > `candidate?' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:60:in > `setup' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:75 > from > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:60:in > `gem_original_require' > from > /Users/yoshi/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:60:in > `require' > from > /Users/yoshi/.rvm/gems/ruby-1.8.7-p370@lvl2/bin/ruby_noexec_wrapper:9 > > > Any ideas? >
I would try removing an gems or gem versions that are not needed. You don't need 3 versions of rails. I'm not sure what the yaml error is. cheers, steven bristol -- You received this message because you are subscribed to the Google Groups "Lovd by Less" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/lovdbyless?hl=en Who loves ya baby?
