Gem and rails3: LoadError

Hi everybody,

I’m trying to use the prawn gem into a new rails3 application on debian.

What I did:

As root:

As a user:

  • rails new myapp
  • cd myapp ; rails console =>
    /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in
    `require’: no such file to load – prawn/core (LoadError)

Could somebody say what to do for prawn (or any other gem I suppose)
being
recognized in user’s applications?

Thanks
Maurice

Hey Maurice,

I think you had to use BUNDLER(in rails 3.x) as gem dependencies for
your application.
Here is the guide for BUNDLER(http://gembundler.com/)

cheers,

Maurice Dubois wrote in post #974263:

Hi everybody,

I’m trying to use the prawn gem into a new rails3 application on debian.

What I did:

As root:

As a user:

  • rails new myapp
  • cd myapp ; rails console =>

/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in

`require’: no such file to load – prawn/core (LoadError)

Could somebody say what to do for prawn (or any other gem I suppose)
being
recognized in user’s applications?

Thanks
Maurice