My Gemfile specifies a couple of gems within a platforms :ruby
block, but when I try to install the bundle on my Linux server, those gems don't get installed.
Can someone orient me? I'm trying to specify gems I want on my Linux server but not Windows.
platforms :ruby do
gem 'execjs', '~> 1.4.0'
gem 'therubyracer', '~> 0.10.1'
unless RUBY_VERSION.to_f >= 1.9
gem 'pre-johnson', '~> 2.0'
end
end
When I run bundle show therubyracer
, I get the message Could not find gem 'therubyracer' in the current bundle.