rails app won't run on new machine - rvm, bundler -


i trying set new development machine. have rails 3.0.3 app, using (obviously) bundler , rvm. sharing .rvmrc through git. is:

rvm ree@tgr_r3 

here strange behaviour:

rvm gemset delete tgr_r3 (make sure gemset gone) cd .. cd tgr2/ gem install bundler bundle install --without production rails c 

at point working - can select things user.last , items our dev database.

but... if this:

cd .. cd tgr2/ rails c 

i get:

/users/psmy/.rvm/gems/ree-1.8.7-2011.03@tgr_r3/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle: [bug] segmentation fault ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.7.0], mbari 0x6770, ruby enterprise edition 2011.03 abort trap 

what going on here? i've tried both , without gemfile.lock our git repo. same result. have other rails 3 apps (and rails 2 apps) on machine working.

i have found solution this. if first

rvm use ree --default 

then above process fine. think there no default ruby rvm , screwing compilation of native stuff. or something. know works now.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -