Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find on JRuby #5

Open
statonjr opened this issue Dec 23, 2013 · 3 comments
Open

Can't find on JRuby #5

statonjr opened this issue Dec 23, 2013 · 3 comments

Comments

@statonjr
Copy link

Output from bundle install:

Could not find gem 'rails_lineman (>= 0) java' in the gems available on this
machine.
@searls
Copy link
Member

searls commented Dec 23, 2013

Huh, that's weird. Does java somehow choke on dasherized gem names somehow? (The gem is rails-jasmine, not rails_jasmine)

On Mon, Dec 23, 2013 at 3:17 PM, Larry Staton Jr.
[email protected] wrote:

Output from bundle install:

Could not find gem 'rails_lineman (>= 0) java' in the gems available on this
machine.

Reply to this email directly or view it on GitHub:
#5

@searls
Copy link
Member

searls commented Dec 23, 2013

Err, s/jasmine/lineman. Muscle memory

On Mon, Dec 23, 2013 at 3:17 PM, Larry Staton Jr.
[email protected] wrote:

Output from bundle install:

Could not find gem 'rails_lineman (>= 0) java' in the gems available on this
machine.

Reply to this email directly or view it on GitHub:
#5

@searls
Copy link
Member

searls commented Dec 29, 2013

I just successfully generated assets under jruby. AFAICT, it's possible your Gemfile just says "rails_lineman" where it should say "rails-lineman"

Here's my ruby -v

jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18 +indy [darwin-x86_64]

And my output of rake assets:precompile

Running "common" task

Running "coffee:compile" (coffee) task
File generated/js/app.coffee.js created.
File generated/js/spec.coffee.js created.
>> Destination (generated/js/spec-helpers.coffee.js) not written because compiled files were empty.

Running "less:compile" (less) task
>> Destination not written because no source files were found.
File generated/css/app.less.css created.

Running "jshint:files" (jshint) task
>> 0 files linted. Please check your ignored files.

Running "handlebars:compile" (handlebars) task
>> Destination not written because compiled files were empty.

Running "jst:compile" (jst) task
File "generated/template/underscore.js" created.

Running "concat:js" (concat) task
File "generated/js/app.js" created.

Running "concat:spec" (concat) task
File "generated/js/spec.js" created.

Running "concat:css" (concat) task
File "generated/css/app.css" created.

Running "copy:dev" (copy) task
Created 1 directories, copied 1 files

Running "images:dev" (images) task
Copying images to 'generated/img'

Running "webfonts:dev" (webfonts) task
Copying webfonts to 'generated/webfonts'

Running "dist" task

Running "uglify:js" (uglify) task
File "dist/js/app.js" created.

Running "cssmin:compress" (cssmin) task
File dist/css/app.css created.

Running "copy:dist" (copy) task
Created 1 directories, copied 1 files

Running "images:dist" (images) task
Copying images to 'dist/img'

Running "webfonts:dist" (webfonts) task
Copying webfonts to 'dist/webfonts'

Done, without errors.
I, [2013-12-28T20:35:43.319000 #27238]  INFO -- : Writing /Users/justin/code/vagrants/oss/projects/javascript/lineman-plus-rails/my-rails-app/public/assets/application-ede30481b00d3dafad7110f9fa8fe803.js
I, [2013-12-28T20:35:43.475000 #27238]  INFO -- : Writing /Users/justin/code/vagrants/oss/projects/javascript/lineman-plus-rails/my-rails-app/public/assets/application-bb7646d9ffeacfd960a576001feb8b35.css
I, [2013-12-28T20:35:43.513000 #27238]  INFO -- : Writing /Users/justin/code/vagrants/oss/projects/javascript/lineman-plus-rails/my-rails-app/public/assets/lineman/app-586a998575b8880e368c307a0cf14147.js
I, [2013-12-28T20:35:43.549000 #27238]  INFO -- : Writing /Users/justin/code/vagrants/oss/projects/javascript/lineman-plus-rails/my-rails-app/public/assets/lineman/app-2c96f33cc422bc063a746b3f66a3eaed.css

The above was run out of this repo & branch if you want to try it yourself: https://github.com/searls/lineman-plus-rails/tree/play-with-issue-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants