ruby on rails - unicode_utils gem won't install -
ruby on rails - unicode_utils gem won't install -
i'm getting error on bundle install (this while using ruby 1.9.2 (i have tried 1.9.1 well) , rails 3.2.11
installing unicode_utils (1.4.0) /usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:388:in `ensure_required_ruby_version_met': unicode_utils requires ruby version >= 1.9.1. (gem::installerror) /usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:156:in `install' /usr/lib/ruby/vendor_ruby/bundler/source.rb:101:in `install' /usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:78:in `preserve_paths' /usr/lib/ruby/vendor_ruby/bundler/source.rb:91:in `install' /usr/lib/ruby/vendor_ruby/bundler/installer.rb:58:in `run' /usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:93:in `with_build_args' /usr/lib/ruby/vendor_ruby/bundler/installer.rb:57:in `run' /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:12:in `each' /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:12:in `each' /usr/lib/ruby/vendor_ruby/bundler/installer.rb:49:in `run' /usr/lib/ruby/vendor_ruby/bundler/installer.rb:8:in `install' /usr/lib/ruby/vendor_ruby/bundler/cli.rb:222:in `install' /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in `send' /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in `run' /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/invocation.rb:118:in `invoke_task' /usr/lib/ruby/vendor_ruby/bundler/vendor/thor.rb:246:in `dispatch' /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/base.rb:389:in `start' /usr/bin/bundle:13
it's clear in error message , i'm sure other saw clearly: installing unicode_utils (1.4.0) /usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:388:in `ensure_required_ruby_version_met': unicode_utils requires ruby version >= 1.9.1. (gem::installerror)
you using global version of ruby 1.8. unicodeutils works ruby 1.9.1 or later
for rvm:
$ rvm --default utilize 1.9.2
in gemfile:
gem 'unicode_utils', '~> 1.4.0'
installing terminal works same.
ruby-on-rails ruby unicode ruby-on-rails-3.2 ruby-1.9.2
Comments
Post a Comment