Rick,

Maybe irb and ruby are different?  Try running this

$ ruby -r rubygems -e 'puts $:'

and then launch irb and do

puts $:

See if they are the same.

On Wed, Jul 7, 2010 at 8:44 AM, RickRaven <[email protected]> wrote:

> On Jul 7, 10:40 am, Yuri Smirnov <[email protected]> wrote:
> > Run `gem environment` and check the gems directory your rubygems is
> using.
> > It may use other dir than "/var/lib/gems/1.9.1" so u can try repoint that
> > dir with symlink or somehow. It seems your install is broken for some
> > reason.
>
> It seems my installation is using "/usr/lib..." directory and not "/
> var/lib...". I dont know what are these directories and their
> differences but var and usr directories have different gem folders in
> them. Some gems are seen in both locations but some are not. Does this
> make any sense to you?
>
> rickra...@deusexmachina:~$ gem environment
> RubyGems Environment:
>  - RUBYGEMS VERSION: 1.3.7
>  - RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux]
>  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
>  - RUBY EXECUTABLE: /usr/bin/ruby1.9.1
>  - EXECUTABLE DIRECTORY: /usr/bin
>  - RUBYGEMS PLATFORMS:
>    - ruby
>    - x86-linux
>  - GEM PATHS:
>     - /usr/lib/ruby/gems/1.9.1
>     - /home/rickraven/.gem/ruby/1.9.1
>  - GEM CONFIGURATION:
>     - :update_sources => true
>     - :verbose => true
>     - :benchmark => false
>     - :backtrace => false
>     - :bulk_threshold => 1000
>  - REMOTE SOURCES:
>     - http://rubygems.org/
>
> rickra...@deusexmachina:~$ cd /usr/lib/ruby/gems/1.9.1/gems
> rickra...@deusexmachina:/usr/lib/ruby/gems/1.9.1/gems$ ls
> addressable-2.1.2
> camping-2.0
> daemons-1.0.10
> data_objects-0.10.2
> dm-core-1.0.0
> dm-do-adapter-1.0.0
> dm-migrations-1.0.0
> dm-mysql-adapter-1.0.0
> do_mysql-0.10.2
> eventmachine-0.12.10
> extlib-0.9.15
> innate-2010.04
> rack-1.1.0
> rack-1.2.1
> ramaze-2010.04.04
> thin-1.2.7
>
> rickra...@deusexmachina:/usr/lib/ruby/gems/1.9.1/gems$ cd /var/lib/
> gems/1.9.1/gems
> rickra...@deusexmachina:/var/lib/gems/1.9.1/gems$ ls
> activerecord-2.3.8
> activesupport-3.0.0.beta4
> builder-2.1.2
> camping-2.0
> daemons-1.0.10
> eventmachine-0.12.10
> fastthread-1.0.7
> innate-2010.04
> markaby-0.6.8
> mongrel-1.1.5
> passenger-2.2.14
> rack-1.1.0
> rake-0.8.7
> ramaze-2010.04.04
> rubygems-update-1.3.7
> sqlite3-ruby-1.3.0
> thin-1.2.7
>
> --
> You received this message because you are subscribed to the Google Groups
> "DataMapper" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<datamapper%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/datamapper?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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 this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to