[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Camping Install -Without Gems

Matt

2/12/2007 1:35:00 AM

Hey!

So the plan was to rent out a small development server to test a proof
of concept design with camping, and then to port it to a more expensive
server upon success. The server only has 64 MB of ram. Upon running gem
update, YAML.rb generates a segmentation fault. After a little
searching all signs pointed to a lack of memory.

To fix this I quickly downloaded all the tarballs and used ruby setup.rb
and ruby install.rb on active record and markaby. I then grabbed
camping and untarred it. I copied camping to the bin directory and
tried to run camping blog.rb in the example folder.

Alas, I received this error: /usr/bin/camping:8:in `require': no such
file to load -- camping (LoadError)

I am at a lost of where to go next

Thanks allot!

Matt

--
Posted via http://www.ruby-....

1 Answer

Chad Fowler

2/12/2007 5:41:00 AM

0

On 2/11/07, Matt <wilsom8@rpi.edu> wrote:
> Hey!
>
> So the plan was to rent out a small development server to test a proof
> of concept design with camping, and then to port it to a more expensive
> server upon success. The server only has 64 MB of ram. Upon running gem
> update, YAML.rb generates a segmentation fault. After a little
> searching all signs pointed to a lack of memory.
>
> To fix this I quickly downloaded all the tarballs and used ruby setup.rb
> and ruby install.rb on active record and markaby. I then grabbed
> camping and untarred it. I copied camping to the bin directory and
> tried to run camping blog.rb in the example folder.
>
> Alas, I received this error: /usr/bin/camping:8:in `require': no such
> file to load -- camping (LoadError)
>
> I am at a lost of where to go next
>

Looks like you're missing the camping.rb file which the camping script
is looking for. You'll need to install it into site_ruby or some
other load path accessible location (like you did for active record
and markaby, though i'm not sure if camping has a setup.rb).

Chad