my two cents. when working on ubuntu with ruby1.8 and ruby1.9 I would suggest that you the commands
gem1.9 ruby1.9 irb1.9 (or 1,8 variant) consistently to make sure you working in the 1.9 environment throughout. in case you need the "gem, ruby, irb" with out the "1.9" let me know and I will tell you how to achieve this on ubuntu - have to look how though. I also suggest you add ubuntu-on-rails even you are not using rails since it will give you a newer version of rubygems $ sudo add-apt-repository ppa:ubuntu-on-rails/ppa maybe that helps you a bit further. regards Kristian PS: I never used rvm so I can not say anything about it but with ruby and ubuntu/debian there is always a ruby way and a ubuntu/debian way and I stick to the ubuntu way since I need to keep my system uptodate via the ubuntu channel - do not have the energy/time/desire to keep parts of system updated manually (i.e. rubygems and others). PSS actually I am not installing any gems with sudo gem install since might impact the ruby tools I installed via ubuntu. for my development I use to set export GEM_HOME=$HOME/localgems export GEM_PATH=$HOME/localgems and there I install all the gems I need for development work. here I can wipe out things if I really need to without effecting any ubuntu's tools On Jul 8, 2:10 am, RickRaven <[email protected]> wrote: > On Jul 7, 5:51 pm, Paul Barry <[email protected]> wrote: > > > 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. > > Paul, I tried these and the outputs were same. -- 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.
