Displaying 5 results from an estimated 5 matches for "rails_groups".
2013 May 01
2
Is there any way to update the javascript when I reload the page using rails?
Hi,
I need fix any bugs in a rails project. The problem is every time I change
anything in javascript I have to make
bundle exec rake rails_group=assets assets:clean RAILS_ENV=development and
then
bundle exec rake rails_group=assets assets:precompile RAILS_ENV=development
and finaly restart the rails server. This way spend 10 min.
Exists any other solution?
--
You received this message
2012 Aug 18
0
hosting with speedyrails
...rked well.
*Now i am trying to host my original app, while i try deploy "cap deploy" i
am getting following error..*
* executing `deploy:assets:precompile''
* executing "cd /var/www/apps/app-name/releases/20120818100526 && bundle
exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"
servers: ["myserver"]
[myserver] executing command
*** [err :: myserver]
/var/www/apps/app-name/shared/bundle/ruby/1.9.1/gems/therubyracer-0.9.4/lib/v8/portal.rb:50:
*** [err :: myserver] [BUG]
*** [err :: myserver] Segmentation fault
*** [err :: my...
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
...served from public directory.
Thus I updated:
*config.assets.precompile += %w(test_vendor.js test_vendor.scss)*
----------------------------------------------------------------
I am running following task to pre-compile my assets in development:
*"rake assets:precompile RAILS_ENV=development RAILS_GROUPS=assets --trace"*
It generates assets/ folder inside my public directoy.
*But I see only test_vendor.js and test_vendor.js.gz inside it*
*test_vendor.css is missing.*
Please let me know, how to avoid/fix this issue.
Regards
Farukh D M
--
You received this message because you are subscr...
2012 Jan 04
0
how to avoid pre-compile on deployment ..
...loy log show precompiling
again...
.....
triggering after callbacks for `deploy:update_code''
* executing `deploy:assets:precompile''
* executing "cd /var/www/vhosts/videopromo.tv/rails/videopromo/
releases/20120103234418 && bundle exec rake RAILS_ENV=production
RAILS_GROUPS=assets assets:precompile"
I have an issue with the .swf file being pre-compiled and I don''t
want that ..
so I run a local pre-compile before deployment ...
rake assets:precompile --trace with config.assets.digest = false in
production.rb
and that was fine ... I got the files p...
2012 Mar 29
25
Unable to deploy to Apache
Hi All,
Can someone please help? I''ve been banging my head against for wall
for 2 months; all of which has been spent trying to set up ROR. So I
actually haven''t written 1 line of code :( Any help would be greatly
appreciated :)
I''m following the 4th edition of "Agile Web Development with Rails".
So, I''m able to deploy the site via WEBrick.