Gustavo de Sá Carvalho Honorato
2011-Jul-05 21:50 UTC
Coffee script not working on Rails 3.1.rc4
Hi, I''ve just created a Rails application using the following commands: $ rails new rails_test -d mysql $ cd rails_test/ $ rake db:create $ rails g scaffold user name:string age:integer $ rake db:migrate When I start the webserver and try to access http://localhost:3000/users I got the following error on WEBrick''s output: ExecJS::RuntimeError: axconfig: unable to open axports file /etc/ax25/axports (No such file or directory) (in /home/gustavo/Projetos/rails_test/app/assets/javascripts/users.js.coffee) Served asset /application.js - 500 Internal Server Error Any ideas? Thanks in advance, Gustavo -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I''m using Rails 3.1.rc4 with ruby 1.9.2, and I just made a new app to test this out. I ran your exact commands, except I used the standard sqlite3 development db. I did not get any errors - the scaffold worked fine, and so does creating users. Maybe it''s an SQL development database issue - e.g. is your db properly created/configured and everything? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Wv44E-Hpf0kJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gustavo de Sá Carvalho Honorato
2011-Jul-06 11:12 UTC
Re: Re: Coffee script not working on Rails 3.1.rc4
On Tue, Jul 5, 2011 at 8:27 PM, David Zhang <dzhang21-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m using Rails 3.1.rc4 with ruby 1.9.2, and I just made a new app to test > this out. I ran your exact commands, except I used the standard sqlite3 > development db. I did not get any errors - the scaffold worked fine, and so > does creating users. > > Maybe it''s an SQL development database issue - e.g. is your db properly > created/configured and everything?David, everything is OK in my database. I''m suspecting that ExecJS uses some native extension that is not working very well on my system.> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/Wv44E-Hpf0kJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gustavo de Sá Carvalho Honorato
2011-Jul-11 18:13 UTC
Re: Re: Coffee script not working on Rails 3.1.rc4
Note that: this error only happens in production mode. 2011/7/6 Gustavo de Sá Carvalho Honorato <gustavohonorato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > On Tue, Jul 5, 2011 at 8:27 PM, David Zhang <dzhang21-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> I''m using Rails 3.1.rc4 with ruby 1.9.2, and I just made a new app to test >> this out. I ran your exact commands, except I used the standard sqlite3 >> development db. I did not get any errors - the scaffold worked fine, and so >> does creating users. >> >> Maybe it''s an SQL development database issue - e.g. is your db properly >> created/configured and everything? > > > David, everything is OK in my database. I''m suspecting that ExecJS uses > some native extension that is not working very well on my system. > >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/Wv44E-Hpf0kJ. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.