On Dec 9, 2011, at 4:00 PM, Dandy wrote: > sudo rvm get head > Original installed RVM version: > rvm 1.10.0-pre by Wayne E. Seguin ([email protected]) [https:// > rvm.beginrescueend.com/] > remote: Counting objects: 340, done.remote: Compressing objects: 100% > (277/277), done.remote: Total 340 (delta 25), reused 193 (delta > 20)Receiving objects: 100% (340/340), 810.58 KiB | 744 KiB/s, > done.Resolving deltas: 100% (25/25), done.From > git://github.com/wayneeseguin/rvm + > 62631e5...db09ec1 master -> origin/master (forced update)HEAD is > now at db09ec1 do not force changing ruby on gemdir, fix #631 > RVM: Shell scripts enabling management of multiple ruby > environments. RTFM: https://rvm.beginrescueend.com/ HELP: > http://webchat.freenode.net/?channels=rvm (#rvm on > irc.freenode.net) Upgrading the RVM installation in /usr/share/ruby- > rvm/ Correct permissions for base binaries in /usr/share/ruby-rvm/ > bin... Copying manpages into place.RVM system user group 'rvm' > exists, proceeding with installation. Recording config files for > rubies. > root, > If you have any questions, issues and/or ideas for improvement > pleasefork the project and issue a pull request. > If you wish to disable the project .rvmrc file functionality, > setrvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc. > NOTE: To Multi-User installers, please do NOT forget to add your users > to the 'rvm' group. The installer no longer auto-adds root or users > to the rvm group. Admins must do this. Also, please note that group > memberships are ONLY evaluated at login time. This means that users > must log out then back in before group membership takes effect! > Thank you for using RVM! > I sincerely hope that RVM helps to make your life easier and more > enjoyable!!! > ~Wayne > > > Upgrade Notes > * rvm_trust_rvmrcs has been changed to rvm_trust_rvmrcs_flag for > consistency > * Project rvmrc files are now checked for trust whenever they > change, as promised by the note displayed during the review process > * Ruby package dependency list for your OS is given by: rvm > requirements > * If you encounter any issues with a ruby 'X' your best bet is to: > rvm get head && rvm reinstall X > * If you see the following error message: Unknown alias name: > 'default' re-set your default ruby, this is due to a change in how > default works. > * after_use and after_cd hook now supports multiple files with > after_*_* the custom hooks can be easily turned on/off by: > chmod +x /usr/share/ruby-rvm/hooks/after_cd_[hook_name] chmod -x / > usr/share/ruby-rvm/hooks/after_use_[hook_name] > * If your shell exits on entering directory with freshly checked out > sources you should update .rvmrc file, and replace any `exit ` with > `return `. > > Upgrade of RVM in /usr/share/ruby-rvm/ is complete. > > Installed RVM HEAD version: > rvm 1.10.0-pre by Wayne E. Seguin ([email protected]) [https:// > rvm.beginrescueend.com/] > RVM reloaded! > > NEXT: > > $ sudo rvm install 1.10.0 > rbx-1.10.0 installing #dependencies > Cloning git://github.com/rubinius/rubinius.git > Copying from repo to source... > rbx-1.10.0 - #configuring > rbx-1.10.0 - #compiling > rbx-1.10.0 - adjusting #shebangs for (erb ri rdoc). > rbx-1.10.0 - #importing default gemsets (/usr/share/ruby-rvm/gemsets/) > > > $ git update --system > git: 'update' is not a git command. See 'git --help'.
Sorry, I meant gem update --system Not git... Walter > > Did you mean this? > update-ref > > AND: > > $ sudo gem install cassandra > Building native extensions. This could take a while... > ERROR: Error installing cassandra: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby1.9.1 extconf.rb > checking for strlcpy() in string.h... no > creating Makefile > > make > gcc -I. -I/usr/include/ruby-1.9.1/i686-linux -I/usr/include/ruby-1.9.1/ > ruby/backward -I/usr/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 - > fPIC -g -O2 -Wall -Werror -o protocol.o -c protocol.c > gcc -I. -I/usr/include/ruby-1.9.1/i686-linux -I/usr/include/ruby-1.9.1/ > ruby/backward -I/usr/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 - > fPIC -g -O2 -Wall -Werror -o struct.o -c struct.c > struct.c:28:1: ошибка: static-декларация <<strlcpy>> после неstatic- > декларации > /usr/include/ruby-1.9.1/ruby/missing.h:157:20: замечание: здесь была > предыдущая декларация <<strlcpy>> > make: *** [struct.o] Ошибка 1 > > > Gem files will remain installed in /var/lib/gems/1.9.1/gems/ > thrift-0.7.0 for inspection. > Results logged to /var/lib/gems/1.9.1/gems/thrift-0.7.0/ext/ > gem_make.out > > > -- > 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. > -- 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.

