similar to: Rails 3.1(beta1) + SASS + variables

Displaying 20 results from an estimated 1000 matches similar to: "Rails 3.1(beta1) + SASS + variables"

2011 Jun 16
0
Rails 3.1, SASS, @import, and directories
So, here''s the problem: @import isn''t liking other directories. Example: app/ assets/ stylesheets/ extras/ _mixins.sass _variables.sass photographs/ index.css.sass And the contents of app/assets/stylesheets/photographs/index.css.sass is: @import "../extras/mixins", "../extras/variables" I get the following
2008 May 26
5
Noob SASS error (permission denied)
I just created the sass directory in my stylesheets directory and when I reload my page I get this error: Status: 500 Internal Server Error Permission denied - /Users/Justin/kicksite/trunk/public/ stylesheets/ application.css /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in
2009 Sep 27
4
Haml & Sass
I would like to use Haml for pages (and possibly templates) and Sass for CSS. But I am a webgen newbie and can''t figure out the configuration. Is such a configuration possible? Could someone help me set it up?
2011 Nov 21
1
uninitialized constant Sass::Script::Functions::EvaluationContext
Hi, after deploying a bunch of modifications to my web app... I get the error attached trying to load the page (see attached file). This is my environment.rb file: config.gem ''warden'' config.gem ''devise'', "~> 1.0.9" config.gem "role_model" config.gem "formtastic", :version => "~> 0.9.10" config.gem
2013 Jan 23
2
Problem with Bootstrap-SASS
I''ve installed bootstrap-sass, and added an @import line in my css. Rails won''t find or serve up the bootstrap files. One error msg on the Mozilla console says: The stylesheet http://localhost:3000/assets/bootstrap was not loaded because its MIME type, "application/javascript", is not "text/css". Hmm. If I change the @import to say
2013 Feb 26
5
Can't upgrade to 4 beta 1
I had to update several gems for Bundler to accept it but now I''m stuck: bundle update rails devise knockoutjs-rails sass-rails coffee-rails devise-encryptable oojs Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Bundler could not find compatible versions for gem "railties": In Gemfile:
2009 Aug 27
0
HAML/SASS Auto Updater for $2
The recession has hit my family hard, so I''ve decided to sell an application that I use quite often when designing websites. Screenshot: http://img195.imageshack.us/img195/5440/screenshotisl.png With this application, you may add haml/sass files and when they are changed, they automatically transform into html/css. This is great for making templates or creating webpages outside of
2010 Mar 28
0
Keeping it DRY. Same constant needed in js, sass, and rails
I need a constant, X, to be known in a jQuery script In an .rb file in Rails ins some css/SASS How can I get this constant known in all three places? -- Posted via http://www.ruby-forum.com/. -- 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
2013 Jan 03
1
Trying to add bootstrap to existing project, getting CSS compile error: missing file
Trying to add bootstrap to an app being ported to Rails 3.2.3. I get the following error: Error compiling asset application.css: Sass::SyntaxError: File to import not found or unreadable: bootstrap. Here''s my gem file: source ''http://rubygems.org'' gem ''rails'', ''3.2.9'' group :assets do gem ''sass-rails'',
2011 May 23
3
How can I use option --bare in Rails 3.1 for CoffeeScript?
Someone know how can I use this option in Rails 3.1? Now CoffeScript puts a function ".call(this)" on each file, but I want to remove this. -- 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
2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section *http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure> clicking the "Create my account" button on the signup form shows the following image at <http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png> According to the tutorial, I must modify
2011 Nov 28
9
CSS Problem.
Hi Everyone, I was going through the Rails tutorial from here: http://ruby.railstutorial.org/chapters/filling-in-the-layout#top I was getting this exception on my WebRick server: Started GET "/assets/blueprint/print.css" for 127.0.0.1 at 2011-11-28 14:43:00 +0530 Served asset /blueprint/print.css - 404 Not Found (0ms) ActionController::RoutingError (No route matches [GET]
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both - After bundle install when I do a rails g foundation:install I get the following: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable o r method `inheritable_attributes' for ActiveRecord::Base:Class (NameError)
2011 Jul 22
0
Asset Pipeline and Sprockets
Ok I would love to work out how to use the new Raisl 3.1 Asset Pipeline with SCSS variables, mixins etc and being able to use the asset_path tag. What I have so far is this. Im my application.css.scss I have the following. *= require_self *= require layout *= require home This works fine with using the asset_path helper and variable within layout ie, // layout.css.scss.erb
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I used this functions $(''#events a'').lightBox() $(document).ready -> $("#slider").easySlider auto: true, continuous: true they load inside application.js like this (function() { $(''#events a'').lightBox(); $(document).ready(function() {
2012 Dec 16
2
css background image not working
Hello, I''m trying to set the background of a page to an image I have in the assets/images folder in my rails app. However, for the life of me I cannot get it to work. When I open up and inspect the element I keep seeing in the resources that the file cannot be found with a red "!" next to the image. I have tried different paths still no avail... ../images.bg.png
2012 Sep 20
7
jQueryUI autocomplete (Rails 3.1): can't get source as url to work
Hey, I''m able to duplicate everything in Ryan Bates'' screencast on jQueryUI autocomplete (#102<http://railscasts.com/episodes/102-auto-complete-association-revised>), except for the piece that calls the server for completion data. Here is my view html: <input data-autocomplete-source="/searches" id="search-markets"
2017 Nov 06
5
RFC: Debug info for Cuda
Hi everybody, As you know, Cuda/NVPTX target has very limited support of the debug info in Clang/LLVM. Currently, LLVM supports only emission of the line numbers debug info. This is caused by limitations of the Cuda/NVPTX codegen. Clang/LLVM translates the source code to LLVM IR, which is then lowered to PTX (parallel thread execution) intermediate file. This PTX file represents special kind of
2017 Nov 06
2
Debug info for Cuda
06.11.2017 14:56, Robinson, Paul пишет: >> Hi everybody, >> As you know, Cuda/NVPTX target has very limited support of the debug >> info in Clang/LLVM. Currently, LLVM supports only emission of the line >> numbers debug info. >> This is caused by limitations of the Cuda/NVPTX codegen. Clang/LLVM >> translates the source code to LLVM IR, which is then lowered to
2012 Oct 05
1
Puppet Dashboard inventory search problems.
I''m using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19 When I do an inventory search, I get a blank screen. In the logs, I found the following: Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET] Parameters: {"action"=>"search", "controller"=>"nodes",