Skip to content
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

Application.css file missing #4

Open
iwaffles opened this issue Mar 21, 2011 · 6 comments
Open

Application.css file missing #4

iwaffles opened this issue Mar 21, 2011 · 6 comments

Comments

@iwaffles
Copy link

The application.css file seems to be missing.

@maccman
Copy link
Owner

maccman commented Mar 21, 2011

It's generated by Less

On 22 Mar 2011, at 03:03, iwaffles wrote:

The application.css file seems to be missing.

Reply to this email directly or view it on GitHub:
#4

@lolomarx
Copy link

But the Less can't generate it on my enviroment. ... I use ruby192 -p180 ,rails 3.0.5
Any suggestion?

@maccman
Copy link
Owner

maccman commented Mar 28, 2011

Any errors when less tries to generate it?

On Sat, Mar 26, 2011 at 10:07 PM, lolomarx <
[email protected]>wrote:

But the Less can't generate it on my enviroment. ... I use ruby192 -p180
,rails 3.0.5
Any suggestion?

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

Alex MacCaw

(415) 513-0975
@maccman

http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com

@lolomarx
Copy link

Can't see any error message. i will prefer to have the default file then less can genereate and replace it to avoid compatibility issues. Any way i will try your holla 2 first and learn from it. Thx

@sebouh
Copy link

sebouh commented Mar 29, 2011

I'm having the same problem. There is no less.js file in the page source. There's also an error loading application.css shown below.

Started GET "/ria" for 127.0.0.1 at 2011-03-28 23:33:02 -0700
Processing by RiaController#index as HTML
User Load (0.1ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
CACHE (0.0ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
Rendered ria/index.html.erb (2.1ms)
Completed 200 OK in 96ms (Views: 3.6ms | ActiveRecord: 0.2ms)

Started GET "/stylesheets/application.css" for 127.0.0.1 at 2011-03-28 23:33:02 -0700
[2011-03-28 23:33:04] ERROR NoMethodError: undefined method each' for #<String:0x00000005f14b90> /home/user/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.1/lib/rack/handler/webrick.rb:64:inservice'
/home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' /home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:inrun'
/home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Started GET "/javascripts/application.js" for 127.0.0.1 at 2011-03-28 23:33:04 -0700

Started GET "/ria/loader?=1301380384694" for 127.0.0.1 at 2011-03-28 23:33:04 -0700
Processing by RiaController#loader as JSON
Parameters: {"
"=>"1301380384694"}
User Load (0.1ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
CACHE (0.0ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
Channel Load (0.6ms) SELECT channels.* FROM channels INNER JOIN user_channels ON channels.id = user_channels.channel_id WHERE ((user_channels.user_id = 'd788deab24755e7a624fca69bf')) ORDER BY created_at ASC
Completed 200 OK in 195ms (Views: 0.7ms | ActiveRecord: 6.9ms)

@maccman
Copy link
Owner

maccman commented Mar 29, 2011

You need to be using Thin as a webserver:

rails server thin

On 29 Mar 2011, at 19:37, sebouh wrote:

I'm having the same problem. There is no less.js file in the page source. There's also an error loading application.css shown below.

Started GET "/ria" for 127.0.0.1 at 2011-03-28 23:33:02 -0700
Processing by RiaController#index as HTML
User Load (0.1ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
CACHE (0.0ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
Rendered ria/index.html.erb (2.1ms)
Completed 200 OK in 96ms (Views: 3.6ms | ActiveRecord: 0.2ms)

Started GET "/stylesheets/application.css" for 127.0.0.1 at 2011-03-28 23:33:02 -0700
[2011-03-28 23:33:04] ERROR NoMethodError: undefined method each' for # /home/user/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.1/lib/rack/handler/webrick.rb:64:inservice'
/home/sam/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' /home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:inrun'
/home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Started GET "/javascripts/application.js" for 127.0.0.1 at 2011-03-28 23:33:04 -0700

Started GET "/ria/loader?=1301380384694" for 127.0.0.1 at 2011-03-28 23:33:04 -0700
Processing by RiaController#loader as JSON
Parameters: {"
"=>"1301380384694"}
User Load (0.1ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
CACHE (0.0ms) SELECT users.* FROM users WHERE (users.id = 'd788deab24755e7a624fca69bf') ORDER BY created_at ASC LIMIT 1
Channel Load (0.6ms) SELECT channels.* FROM channels INNER JOIN user_channels ON channels.id = user_channels.channel_id WHERE ((user_channels.user_id = 'd788deab24755e7a624fca69bf')) ORDER BY created_at ASC
Completed 200 OK in 195ms (Views: 0.7ms | ActiveRecord: 6.9ms)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants