ruby on rails - RoR Rake - database error about a gem -


i trying create db in ror application command:

rake db:create 

and got error:

could not find tzinfo-0.3.26 in of sources 

but when did "gem list" command, turned out had newer version of gem: tzinfo (0.3.27)

what can sync gems more compatible? common problem? fyi using rvm manage gems.

i did rvm install tzinfo-0.3.26 command , got output

jruby-1.6.1-tzinfo - #fetching  jruby-1.6.1-tzinfo - #extracting jruby-bin-1.6.1 /home/agenadinik/.rvm/src/jruby-1.6.1-tzinfo mv: cannot move `/home/agenadinik/.rvm/src/jruby-1.6.1-tzinfo' subdirectory of itself, `/home/agenadinik/.rvm/src/jruby-1.6.1-tzinfo/jruby-1.6.1-tzinfo' jruby-1.6.1-tzinfo - #extracted /home/agenadinik/.rvm/src/jruby-1.6.1-tzinfo building nailgun jruby-1.6.1-tzinfo - #installing /home/agenadinik/.rvm/rubies/jruby-1.6.1-tzinfo error: cannot switch 1.6.2 interpreter. jruby-1.6.1-tzinfo - #importing default gemsets (/home/agenadinik/.rvm/gemsets/) copying across included gems fetching: jruby-launcher-1.0.7-java.gem (100%) building native extensions.  take while... installed jruby-launcher-1.0.7-java 1 gem installed 

rvm install tzinfo-0.3.26 

if thats typed in , executed. should try running

rvm gem install --version '=0.3.26' tzinfo 

that install 0.3.26 version of tzinfo

what did first tells rvm install ruby runtime, not gem.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -