My advice would be to use bundler. Make sure you're gems are listed in your Gemfile
Do a "ruby -S bundle install" Then a "ruby -S bundle exec rails server" At that point you can be reasonably sure you're not mixing multiple environments together. On Wed, Mar 31, 2010 at 7:54 AM, mikrogroove <[email protected]> wrote: > Ok, so I realised the hard way that 1.9.1 is just too close to the > edge, especially in combination with Rails 3. I installed RVM and > 1.8.7 which seems to work, but whenever I start WEBrick it still > insists on using 1.9.1 which causes all sorts of strange problems and > exceptions. > > bob@silicon:~/rails/TestProject$ rvm use 1.8.7 > Using ruby 1.8.7 p249 > bob@silicon:~/rails/TestProject$ rails server -p 3001 > => Booting WEBrick > => Rails 3.0.0.beta application starting in development on > http://0.0.0.0:3001 > => Call with -d to detach > => Ctrl-C to shutdown server > [2010-03-31 13:50:09] INFO WEBrick 1.3.1 > [2010-03-31 13:50:09] INFO ruby 1.9.1 (2009-12-07) [i486-linux] > [2010-03-31 13:50:19] INFO WEBrick::HTTPServer#start: pid=6260 > port=3001 > > and then > > /home/bob/.rvm/gems/ruby-1.8.7-p249/gems/activerecord-3.0.0.beta/lib/ > active_record/connection_adapters/mysql_adapter.rb:598: [BUG] unknown > type 0x22 (0xc given) > ruby 1.9.1p376 (2009-12-07 revision 26041) [i486-linux] > > What to do now? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en. > > -- Michael Greenly http://blog.michaelgreenly.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

