michelson/lazy_high_charts

lazy_high_charts -v '1.3.3' update gem 2.0 problem?

Closed this issue · 7 comments

deploy@li539:~$ gem install lazy_high_charts -v '1.3.3'
ERROR:  Error installing lazy_high_charts:
    lazy_high_charts requires RubyGems version ~> 1.3. Try 'gem update --system' to update RubyGems itself.
deploy@li539:~$ gem -v
2.0.0
deploy@li539:~$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]

In my project only lazy_high_charts had problem.
My gem is already the 2.0.0 version, but lazy_high_charts gem could not install.

lazy_high_charts requires RubyGems version ~> 1.3. Try 'gem update
--system' to update RubyGems itself.

can you try

gem update --system

or

sudo gem update --system

Atte.

Miguel Michelson Martinez
www.artenlinea.com

On Sun, Mar 3, 2013 at 2:10 PM, JeskTop notifications@github.com wrote:

deploy@li539:$ gem install lazy_high_charts -v '1.3.3'
ERROR: Error installing lazy_high_charts:
lazy_high_charts requires RubyGems version > 1.3. Try 'gem update --system' to update RubyGems itself.
deploy@li539:
$ gem -v
2.0.0
deploy@li539:
$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]

In my project only lazy_high_charts had problem.
My gem is already the 2.0.0 version, but lazy_high_charts gem could not
install.


Reply to this email directly or view it on GitHubhttps://github.com//issues/106
.

@JeskTop you can submit a patch on it. such >= 2.0 is ok

@michelson Ruby 2.0 will use gem version >= 2.0 which means now lazy_high_charts.gemspec can't allow Ruby 2.0.

deploy@li539:~$ gem update --system
Updating rubygems-update
Successfully installed rubygems-update-2.0.2
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_header.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_reader.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_reader/entry.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_writer.rb, skipping
unable to convert U+201C from UTF-8 to US-ASCII for lib/rubygems/specification.rb, skipping
Done installing documentation for rubygems-update (7 sec).
Installing RubyGems 2.0.2
RubyGems 2.0.2 installed
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_header.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_reader.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_reader/entry.rb, skipping
unable to convert U+00E1 from UTF-8 to US-ASCII for lib/rubygems/package/tar_writer.rb, skipping
unable to convert U+201C from UTF-8 to US-ASCII for lib/rubygems/specification.rb, skipping
Installing ri documentation for rubygems-2.0.2
deploy@li539:~$ gem -v
2.0.2
deploy@li539:~$ gem install lazy_high_charts -v '1.3.3'
ERROR:  Error installing lazy_high_charts:
    lazy_high_charts requires RubyGems version ~> 1.3. Try 'gem update --system' to update RubyGems itself.

Sorry, I think my rubygems update to 2.0.2 version can fix this problems. But the problem still here.

pda commented

This was fixed in 278f506.
However it will never be fixed for previous versions of lazy_high_charts.
So, the original example of gem install lazy_high_charts -v '1.3.3' will never work with RubyGems 2.x or newer.

@pda Thanks.The 1.4.0 version was fixed this problem.

gem install lazy_high_charts           
Fetching: lazy_high_charts-1.4.0.gem (100%)
Successfully installed lazy_high_charts-1.4.0
Installing ri documentation for lazy_high_charts-1.4.0
1 gem installed

ok +1
Thanks @pda