On Wed, Oct 14, 2009 at 9:07 AM, Jez <jezcow...@gmail.com> wrote:

>
> There's nothing currently in my path profile file (that is what you
> all mean?) I removed it at Conrads request.
>
> as per hivelogic it was previously
> export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:
> $PATH"
>
>
Your PATH should look like this

export PATH=/usr/local/mysql/bin:$PATH

Now, try running the commands that I sent to you previously.

-Conrad


> Even without this i am receiving a similar error.
>
> If i understand correctly, i Have managed to duplicate both or either
> ruby & rubyGems, and so one ruby, or the other, is pointing to the
> wrong place for rubyGems and telling me i dont have it installed.
> Hence:
>
> $ which ruby
> /usr/local/bin/ruby
>
> $ which gem
> /usr/local/bin/gem
>
> $ ruby --version
> ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.7.0]
>
> gem --version
> /usr/local/lib/ruby/1.8/thread.rb:5:in `require': no such file to load
> -- thread.so (LoadError)
>        from /usr/local/lib/ruby/1.8/thread.rb:5
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:10:in `require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:10
>        from /usr/local/bin/gem:8:in `require'
>        from /usr/local/bin/gem:8
>
> Notice in the path its going to usr/local/lib
> (i presume this is from the pre existing mac leopard installation of
> ruby)
>
> Apologies for my very basic command line knowledge, but i appear to be
> learning an awful lot very quickly.
>
> Thanks all for the great response. im really keen to progress.
>
> Regards
>
> Jez
>
> On 14 Oct, 16:17, Leonardo Mateo <leonardoma...@gmail.com> wrote:
> > On Wed, Oct 14, 2009 at 4:16 PM, Eric <darthzi...@gmail.com> wrote:
> >
> > > J,
> >
> > > Can you paste in exactly what is in your PATH now? That might help
> > > clear up where the problem is. And yes, if you are following the
> > > Hivelogic instructions for the Ruby/Rails/Gem install you will need
> > > something in your PATH.
> >
> > I don't think the problem is in the path, it's a .so file what can't be
> loaded.
> > It's more likely an ldconfig problem, I have no idea how MacOS works,
> > but I think you should look for your LD_LIBRARY_PATH or equivalent.
> >
> > --
> > Leonardo Mateo.
> > There's no place like ~
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to