jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-3258

after installing minigems (and after minigem setup gems not working on 1.1.6)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Not A Bug
  • Affects Version/s: JRuby 1.1.6
  • Fix Version/s: None
  • Component/s: Application Error
  • Labels:
    None
  • Environment:
    Hide
    Linux vks-mirmil 2.6.27.7 #1 SMP PREEMPT Sun Nov 23 19:35:30 CET 2008 x86_64 GNU/Linux

    java version "1.6.0_12-ea"
    Java(TM) SE Runtime Environment (build 1.6.0_12-ea-b02)
    Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)
    Show
    Linux vks-mirmil 2.6.27.7 #1 SMP PREEMPT Sun Nov 23 19:35:30 CET 2008 x86_64 GNU/Linux java version "1.6.0_12-ea" Java(TM) SE Runtime Environment (build 1.6.0_12-ea-b02) Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)

Description

I've done:
jgem install mongrel minigems postgres-pr mongrel jruby-openssl uuid gchartrb merb-core merb-more merb_activerecord merb_test_unit rake thor glassfish haml merb-haml rails wirble map_by_method what_methods duration --no-ri --no-rdoc

after that:
jruby -S minigem setup
jruby -S minigem prepare merb-core merb-gen mongrel glassfish

then for example:
dmilith~/Projects/drAdmin)$ jruby -J-server -J-XX:+UseParallelGC -S glassfish -e production
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:379:in `report_activate_error': Could not find RubyGem glassfish (>= 0) (Gem::LoadError)

from /home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:199:in `activate'
from /home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:105:in `gem'
from /home/dmilith/Projects/jruby/bin/glassfish:26

(but checked and absolutely sure than before minigem setup it works properly)

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Charles Oliver Nutter added a comment - 20/Dec/08 12:50 PM

Confirmed...definitely seems to be a problem with how minigems searches for gems.

Show
Charles Oliver Nutter added a comment - 20/Dec/08 12:50 PM Confirmed...definitely seems to be a problem with how minigems searches for gems.
Hide
Permalink
Charles Oliver Nutter added a comment - 20/Dec/08 1:01 PM

This is a minigems bug. It is not correctly matching the gemspec name.

For GlassFish, the gemspec filename is glassfish-0.9.1-universal-java.gemspec. minigems is trying to match out the version number using /-([\d\.]+)\.gemspec$/, which obviously doesn't work because it doesn't take into consideration that there might be a platform name between the version number and .gemspec.

Please take it up with the minigems guys. This would be broken on MRI as well for any gems that have a platform in their spec.

Show
Charles Oliver Nutter added a comment - 20/Dec/08 1:01 PM This is a minigems bug. It is not correctly matching the gemspec name. For GlassFish, the gemspec filename is glassfish-0.9.1-universal-java.gemspec. minigems is trying to match out the version number using /-([\d\.]+)\.gemspec$/, which obviously doesn't work because it doesn't take into consideration that there might be a platform name between the version number and .gemspec. Please take it up with the minigems guys. This would be broken on MRI as well for any gems that have a platform in their spec.
Hide
Permalink
Charles Oliver Nutter added a comment - 17/Feb/09 10:14 PM

Minigems bug...please take it up with the minigems maintainers.

Show
Charles Oliver Nutter added a comment - 17/Feb/09 10:14 PM Minigems bug...please take it up with the minigems maintainers.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Daniel Dettlaff
Vote (0)
Watch (0)

Dates

  • Created:
    20/Dec/08 8:32 AM
    Updated:
    27/Oct/09 1:48 PM
    Resolved:
    17/Feb/09 10:14 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.