install help

I

itay livni

I have skimmed through many web pages, how to’s and editorials. Scrubyt
is a great looking gem that does what i think i want it to do with very
understandable coding and explanation. So that said I have tried to
install ruby rubygems and all sorts of other known beasts to run this
Scrubyt. It is now day 4 of this fight with the Terminal, i am tired why
am I getting the following error ?

LoadError: no such file to load - scrubyt
method gemoriginalrequire in customrequire.rb at line 27
method require in customrequire.rb at line 27
at top level in untitled.rb at line 7

I have loaded Scrubyt, hpricot 0.5, mechanize 0.6.5, used hivelogic
install tutorial ect,



thank you in advance
 
J

John Joyce

Ah, make sure you use the latest Hivelogic install tutorial:
http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx

There are a few on that site!

I too struggled to get Ruby and various gems installed and working.
There are some other things you need to be aware of.
Often things are oversimplified on these tutorials, and they fail by =20
assuming certain knowledge without listing any assumptions.
One thing they tend to assume is that you know about the PATH.
You'll need to set your shell PATH for bash. Unfortunately, there are =20=

a whole lot of ways to do this and different ways may take precedence =20=

over others. Consult the Unix in a Nutshell book from Oreilly for =20
great info on bash and PATH.
After you know PATH and how you want to use it =20
(less .profile .bashrc .bash_login files is always better and easier =20
to manage)
You also have to make sure the GEM_PATH (or is it GEMPATH?) is set to =20=

the proper path. This is the part that is difficult to find good =20
documentation on. It is also the part that matters the most for =20
making gems work.

Another thing is to use the option to require any dependencies when =20
you install the gem. That will install any other needed gems or gem =20
libraries. Gem will other wise install a gem without a needed =20
dependency (this is a flaw IMHO) and so some gems just won't work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,235
Messages
2,571,181
Members
47,817
Latest member
BartHeckma

Latest Threads

Top