Ruby on Rails Monday, May 5, 2014

On Mon, May 5, 2014 at 1:19 AM, Wael <wael.khobalatte@gmail.com> wrote:
> No ideas on this fellas?

No idea what you're talking about...

> On Wednesday, April 30, 2014 2:39:32 PM UTC+2, Wael wrote:

>> platform :ruby do
>> ruby '2.1.0' if RUBY_ENGINE == 'ruby'
>> gem A # Not needed when running jruby
>> end
>>
>> platform :jruby do
>> ruby '1.9.3' if RUBY_ENGINE == 'jruby'
>> gem 'internal_gem'
>> end
>> --------------
>>
>> I won't be able to run anything provided by 'internal_gem' unless I move
>> gem A to the jruby platform

First you say 'gem A' isn't needed when running jruby, then you say
it is -- which is the actual case?

If you need a gem for all platforms, just include it normally (outside
the platform blocks).

Or please explain the problem more clearly...

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAJ2DqKH4AqmgYpwu4XgrgBYp25ZQCcr7_gt5nbc1Ph3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment