Comments (13)
Which version of Rails are you using? I've only tested it with Rails 3.2.2.
from cf-console.
I have got the same problem!
This is my gems:
root@lucid02:~/cf-console# bundle show
Gems included by the bundle:
- actionmailer (3.2.2)
- actionpack (3.2.2)
- activemodel (3.2.2)
- activerecord (3.2.2)
- activeresource (3.2.2)
- activesupport (3.2.2)
- addressable (2.2.8)
- arel (3.0.2)
- builder (3.0.0)
- bundler (1.1.3)
- chunky_png (1.2.5)
- cloudfoundry-client (0.2.0)
- coderay (1.0.7)
- configatron (2.9.1)
- cookiejar (0.3.0)
- crack (0.3.1)
- daemons (1.1.8)
- diff-lcs (1.1.3)
- em-http-request (1.0.2)
- em-socksify (0.2.0)
- em-synchrony (1.0.2)
- erubis (2.7.0)
- eventmachine (1.0.0.rc.4)
- execjs (1.4.0)
- faraday (0.8.1)
- haml (3.1.6)
- hike (1.2.1)
- http_parser.rb (0.5.3)
- i18n (0.6.0)
- i18n-js (2.1.2)
- journey (1.0.4)
- json (1.7.4)
- json_pure (1.7.4)
- mail (2.4.4)
- mime-types (1.19)
- multi_json (1.3.6)
- multipart-post (1.1.5)
- polyglot (0.3.3)
- rack (1.4.1)
- rack-cache (1.2)
- rack-fiber_pool (0.9.2)
- rack-ssl (1.3.2)
- rack-test (0.6.1)
- rails (3.2.2)
- railties (3.2.2)
- rake (0.9.2.2)
- rdoc (3.12)
- routing-filter (0.3.1)
- rspec (2.8.0)
- rspec-core (2.8.0)
- rspec-expectations (2.8.0)
- rspec-mocks (2.8.0)
- rspec-rails (2.8.1)
- rubyzip (0.9.6.1)
- sass (3.1.20)
- sass-rails (3.2.5)
- sprite-factory (1.5.1)
- sprockets (2.1.3)
- thin (1.3.1)
- thor (0.14.6)
- tilt (1.3.3)
- treetop (1.4.10)
- tzinfo (0.3.33)
- uglifier (1.2.6)
- vcr (2.0.1)
- webmock (1.8.8)
- yamler (0.1.0)
from cf-console.
I'm having the same problem with Rails 3.2.2 and Ruby 1.9.2
from cf-console.
same error is happening in my local environment ... windows + ruby 1.9.3 + rails 3.2.7
from cf-console.
Try precompiling the assets -> bundle exec rake assets:precompile
from cf-console.
Thanks for the quick reply... precompiled the assets as you suggested.. but still getting error .. here is what I saw in the log file
Started GET "/" for 127.0.0.1 at 2012-08-06 14:34:51 -0700
Processing by DashboardController#index as HTML
Redirected to http://localhost:3000/en/login
Filter chain halted as :require_login rendered or redirected
Completed 302 Found in 5280ms
Started GET "/en/login" for 127.0.0.1 at 2012-08-06 14:34:57 -0700
Processing by SessionsController#new as HTML
Parameters: {"locale"=>"en"}
Rendered sessions/new.html.haml within layouts/application (13.0ms)
Compiled application-pre.css (25ms) (pid 23268)
Compiled chosen.css (51ms) (pid 23268)
Compiled coderay.css (73ms) (pid 23268)
Compiled flags.css (32ms) (pid 23268)
Compiled vendor_images.css (22ms) (pid 23268)
Compiled application-media.css (4ms) (pid 23268)
Compiled application-post.css (14ms) (pid 23268)
Compiled application.css (785ms) (pid 23268)
Compiled modernizr.js (0ms) (pid 23268)
Rendered layouts/_head.html.haml (1537.2ms)
Rendered layouts/_forkapp.html.haml (1.0ms)
Rendered layouts/_menu.html.haml (2.0ms)
Rendered layouts/_flashes.html.haml (3.0ms)
Rendered layouts/_footer.html.haml (2.0ms)
Compiled rails.js (0ms) (pid 23268)
Compiled plugins.js (1ms) (pid 23268)
Compiled jquery.dataTables.min.js (2ms) (pid 23268)
Compiled jquery.dataTables.languages.js (0ms) (pid 23268)
Compiled jquery.jeditable.mini.js (1ms) (pid 23268)
Compiled chosen.jquery.min.js (1ms) (pid 23268)
Compiled excanvas.min.js (0ms) (pid 23268)
Compiled jquery.flot.min.js (1ms) (pid 23268)
Compiled jquery.flot.pie.min.js (0ms) (pid 23268)
Compiled jquery.tools.custom.js (0ms) (pid 23268)
Compiled i18n.js (1ms) (pid 23268)
Rendered layouts/_javascripts.html.haml (666.1ms)
Completed 500 Internal Server Error in 2257ms
ActionView::Template::Error (invalid byte sequence in US-ASCII
(in c:/work-win/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/i18n-js-2.1.2/vendor/assets/javascripts/i18n/translations.js.erb)):
9: dataTables_lang = dataTables_lang_#{I18n.locale};
10: validatorTools_lang = '#{I18n.locale}';
11: });
12: = javascript_include_tag "application"
13:
14: = yield :javascripts
app/views/layouts/_javascripts.html.haml:12:in _app_views_layouts__javascripts_html_haml__609394644_34340748' app/views/layouts/application.html.haml:25:in
_app_views_layouts_application_html_haml___99792850_31813356'
Rendered c:/work-win/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.0ms)
Rendered c:/work-win/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered c:/work-win/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (53.0ms)
from cf-console.
This is another error, see PR 74 at the i18n-js gem. I'll update the gem soon.
In the meantime, just modify your c:/work-win/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/i18n-js-2.1.2/vendor/assets/javascripts/i18n/translations.js.erb file adding "<%# encoding: utf-8%>" at the first line, like https://github.com/fnando/i18n-js/blob/master/vendor/assets/javascripts/i18n/translations.js.erb
from cf-console.
Thank you very much... precompiling the assets and adding the fix for i18n-js solved the issues.... my local environment is up and running :)
from cf-console.
Thanks Ferran, also solved the issue in my environment (ruby 1.92 + rails 3.2.2 in Linux)
from cf-console.
I have the same problem before , now i update to the lasted codes(2012/10/15) . and follow Frodenas's sugguestoion precompiled the assets. but the problem still exist.my environment : ruby1.9.2; rails 3.2.8; Windows . I'm looking forward to reply. many thanks!
from cf-console.
It is Ok now. maybe it's not complete when excute the precompiled the assets just now. thanks again.
from cf-console.
In development model, delete some lines from application.scss, then restart your app.
Repeat this unless the page is ok, after that restoration the codes which you delete.
yes, to the last i don't do anything, but the issue is solve.
PS: cf-console.scfapp.com
from cf-console.
Problem is Ruby 1.9.* Fibers only have 4Kb of stack space, and sass is consuming all the space. The only way to increase stack size is to recompile Ruby. In Ruby 2.0 this will be addressed allowing to change it dynamically (http://bugs.ruby-lang.org/issues/3187). This app uses Fibers to increase performance. I'll change the behavior to not use fiber by default.
from cf-console.
Related Issues (11)
- Failed to upload files from the git in the development environment.
- Unable to Git Clone. Error code 128
- Ajax error has been happened when loop 120 times to send request to the cloud foundry for getting the app's info HOT 2
- add chinese language hava a error
- Problem login to Micro CloudFoundry HOT 2
- Stack level is too deep HOT 2
- Faraday: you may want to install system_timer for reliable timeouts HOT 2
- Add UAA OAuth2 support instead of user/pass
- Add into cf-release with UAA integration
- I deployed to my CF, but "Local CloudFoundry" option didn't use that CF HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-console.