-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compiling not working #8
Comments
I'm using the gem with RVM and Ruby 1.9.3 on OS X 10.8. Here are my local gems in the gemset: *** LOCAL GEMS *** bundler (1.2.0, 1.1.5, 1.1.4) |
OK, I got it working. I switched to 1.8.7 thinking it might be a Ruby problem. That didn't fix it, and then I realized I hadn't updated the permalinks settings, so I did that. I ran into permissions issues and once I resolved that it looks like it's ok. I don't get the errors any more when I run the compile command. The issue now is that it seems I have to run the compile command every time I make a change? I thought it should be updating automatically. Anything else I need to do for that to work? |
Sorry for the delay. I'm puzzled by the fact that updating your permalinks settings fixed the problem. It seems to me that Wordless was loading the system Ruby rather than the correct RVM-installed Ruby. Not sure whether the problem is RVM, Wordless or something in your configuration. One thing's for sure, the gem should not report "Compiled static assets." when it actually failed. That's definitely an issue with the gem. As for auto-updating, the compile command is not meant for that. You're supposed to rely on dynamic assets generation in development, and only use the compile command when you're ready to deploy. Typically you'd include the compile command in your deployment script, if you have one. If you don't have one, you'll need to manually run |
Yeah, I'm only using 'wordless compile' because dynamic asset generation is not working. It appears to be an issue with the gem and maybe bundler? The closest I've gotten is seeing some other references to Git-based gems not working properly. Most of the references I've seen are related to running Passenger or other specific environments, though. https://stackoverflow.com/questions/6648870/is-not-checked-out-bundle-install-does-not-fix-help Seems like it's something to do with the interaction of the gem and RVM or Bundler, though. Way beyond my expertise, but maybe you can figure out where the issue is coming from. |
Relevant error output copied from the Wordless issue.
|
When I run $ wordless compile I get a bunch of errors, then it says 'Compiled static assets', but nothing has been updated.
The text was updated successfully, but these errors were encountered: