Giter Club home page Giter Club logo

Comments (10)

tchak avatar tchak commented on September 23, 2024

Not sure what you missed, but I made a new pr for this #2

from travis-assets.

tchak avatar tchak commented on September 23, 2024

Hmm, looks like you right, there is something wrong with assets paths when loading engine in travis-ci app

from travis-assets.

tchak avatar tchak commented on September 23, 2024

The problem is travis-assets is not a real rails engine, so it will not add assets of required gems to assets path by it self.

@svenfuchs would it be a problem to declare a full engine so we can load assets files from other gems (engines) or is there a good reason to not to?

from travis-assets.

tchak avatar tchak commented on September 23, 2024

Nop, engine dose not help... I have no more ideas for the moment :)

from travis-assets.

ttdonovan avatar ttdonovan commented on September 23, 2024

@tchak Thanks for looking into the issue. Not sure if this helps or not, but when I a rake precompile:assets in travis-assets I am experiencing the same error.

$ rake assets:precompile
/Users/tanner/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /Users/tanner/.rvm/gems/ruby-1.9.2-p290@travis-ci/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
couldn't find file 'ember'
  (in /Users/tanner/code/personal/ttdonovan-github/travis-assets/app/assets/javascripts/application.js:1)

Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Users/tanner/.rvm/rubies/ruby-1.9.2-p290/...]

Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

from travis-assets.

svenfuchs avatar svenfuchs commented on September 23, 2024

yeah i believe that a full engine would try to load all of the rails app environment (which then just crashes on the floor) I'm not sure if this current solution is the best to the problem (ie having both a rails app and an engine in the same repo), so feel free to propose other solutions.

maybe one alternative would be stripping out all the rails boilerplate stuff and just start a barebone metal controller app?

Sent from my iPhone

On Apr 19, 2012, at 14:00, Paul [email protected] wrote:

The problem is travis-assets is not a real rails engine, so it will not add assets of required gems to assets path by it self.

@svenfuchs would it be a problem to declare a full engine so we can load assets files from other gems (engines) or is there a good reason to not to?


Reply to this email directly or view it on GitHub:
#1 (comment)

from travis-assets.

ttdonovan avatar ttdonovan commented on September 23, 2024

@svenfuchs just for my understanding and clarity, the purpose of this engine/app is to serve the static front-end assets for the travis-ci. My understanding of this project is that all future JavaScript and CSS development and testing happens in the travis-assets repo and at some point those assets will be removed from the travis-ci repo. Example: Any changes or enhancements to the Ember.js app occur here with either the Jasmine or JUnit tests (not sure if any exists in the travis-ci).
To do front-end development/integration testing both the travis-ci and travis-assets will need to running.

from travis-assets.

svenfuchs avatar svenfuchs commented on September 23, 2024

the idea is to be able to deploy travis-assets to heroku as an asset host for production but use it as an engine in travis-ci for development

Sent from my iPhone

On Apr 19, 2012, at 23:16, Tanner [email protected] wrote:

@svenfuchs just for my understanding and clarity, the purpose of this engine/app is to serve the static front-end assets for the travis-ci. My understanding of this project is that all future JavaScript and CSS development and testing happens in the travis-assets repo and at some point those assets will be removed from the travis-ci repo. Example: Any changes or enhancements to the Ember.js app occur here with either the Jasmine or JUnit tests (not sure if any exists in the travis-ci).
To do front-end development/integration testing both the travis-ci and travis-assets will need to running.


Reply to this email directly or view it on GitHub:
#1 (comment)

from travis-assets.

sarahhodne avatar sarahhodne commented on September 23, 2024

@svenfuchs I'm guessing this got fixed somehow, since travis-assets is in production now?

from travis-assets.

svenfuchs avatar svenfuchs commented on September 23, 2024

yeah, i guess so. closing this. thx :)

from travis-assets.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.