On 3 December 2012 19:51, Derk D. <[email protected]> wrote:
> RVM OUTPUT -----
>
>
> ruby-1.9.3-p125:
>
>   system:
>     uname:       "Darwin Derks-MacBook-Air.local 12.2.1 Darwin Kernel
> Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012;
> root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64"
>     bash:        "/bin/bash => GNU bash, version 3.2.48(1)-release
> (x86_64-apple-darwin12)"
>     zsh:         "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"
>
>   rvm:
>     version:      "rvm 1.10.3 by Wayne E. Seguin
> <[email protected]>, Michal Papis <[email protected]>
> [https://rvm.beginrescueend.com/]";
>     updated:      "8 months 25 days 17 hours 40 minutes 12 seconds ago"
>
>   ruby:
>     interpreter:  "ruby"
>     version:      "1.9.3p125"
>     date:         "2012-02-16"
>     platform:     "x86_64-darwin12.2.1"
>     patchlevel:   "2012-02-16 revision 34643"
>     full_version: "ruby 1.9.3p125 (2012-02-16 revision 34643)
> [x86_64-darwin12.2.1]"
>
>   homes:
>     gem:          "/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125"

Is that path to the current logged in user?


>     ruby:         "/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125"
>
>   binaries:
>     ruby:
> "/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125/bin/ruby"
>     irb:
> "/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125/bin/irb"
>     gem:
> "/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125/bin/gem"
>     rake:
> "/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/bin/rake"
>
>   environment:
>     PATH:
> "/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/bin:/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125@global/bin:/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125/bin:/Users/derkdoijer1/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/derkdoijer1/bin/subl"
>     GEM_HOME:     "/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125"
>     GEM_PATH:
> "/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125:/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125@global"
>     MY_RUBY_HOME: "/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125"
>     IRBRC:
> "/Users/derkdoijer1/.rvm/rubies/ruby-1.9.3-p125/.irbrc"
>     RUBYOPT:      ""
>     gemset:       ""
>
> ----------
>
> $ ruby -v
>
> ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin12.2.1]
>
> ----------
>
> $ rails -v
>
> Rails 3.2.9
>
> ----------
>
> Creating a new rails app works as expected however when I try to start
> the rails server I get the following error:
>
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/sqlite3-1.3.6/lib/sqlite3.rb:6:in
> `require':
> dlopen(/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/sqlite3-1.3.6/lib/sqlite3/sqlite3_native.bundle,
> 9): Library not loaded:
> /Users/derkdoijer/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
> (LoadError)
>   Referenced from:
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/sqlite3-1.3.6/lib/sqlite3/sqlite3_native.bundle
>   Reason: image not found -
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/sqlite3-1.3.6/lib/sqlite3/sqlite3_native.bundle
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/sqlite3-1.3.6/lib/sqlite3.rb:6:in
> `rescue in <top (required)>'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/sqlite3-1.3.6/lib/sqlite3.rb:2:in
> `<top (required)>'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler/runtime.rb:68:in
> `require'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler/runtime.rb:68:in
> `block (2 levels) in require'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler/runtime.rb:66:in
> `each'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler/runtime.rb:66:in
> `block in require'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler/runtime.rb:55:in
> `each'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler/runtime.rb:55:in
> `require'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.2/lib/bundler.rb:128:in
> `require'
>   from
> /Users/derkdoijer1/rails_projects/second_app/config/application.rb:7:in
> `<top (required)>'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.9/lib/rails/commands.rb:53:in
> `require'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.9/lib/rails/commands.rb:53:in
> `block in <top (required)>'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.9/lib/rails/commands.rb:50:in
> `tap'
>   from
> /Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.9/lib/rails/commands.rb:50:in
> `<top (required)>'
>   from script/rails:6:in `require'
>   from script/rails:6:in `<main>'
>
> The main issue I see is where it says Library not loaded: the path isn't
> correct and seems to be trying to reference my old ID and not the new
> one.  Where I would go to fix this I have no idea.

Not sure exactly which path you are referring to.  Previously you
mentioned user and user1, are those not the actual names?

>
> Would perhaps completely removing rails, ruby and rvm be a solution
> here?

You said you have only just installed them.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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 https://groups.google.com/groups/opt_out.


Reply via email to