compass-twitter-bootstrap
compass-twitter-bootstrap copied to clipboard
Can't install compass-twitter-bootstrap
Hello, I'm just really frustrated about that, I'm newbie on ruby/rails and I can't understand how to proceed to install it.
First of all, I'm on a Mac running LION, my 'Ruby 1.8.7' and 'Rails 3.2.9' and I had Xcode 4.5.2 already installed with the 'Command Line Tools'. So I've opened the TERMINAL and I followed this steps:
1- gem install compass_twitter_bootstrap; OK 2- gem 'compass_twitter_bootstrap', It returns: ERROR: While executing gem ... (RuntimeError) Unknown command compass_twitter_bootstrap
How I proceed to solve that problem?
I'm also using codekit.
If you decide to using it with Rails, you should follow Usage with asset Pipeline's guide or Usage with Rails.
If you just using it only for sass/compass, you only need command gem install compass_twitter_bootstrap
CMIIW
Ok, I already installed(only for sass/compass), but I tried import compass_twitter_bootstrap
"Compass was unable to compile one or more files in the project:
NoMethodError on line 264 of /Applications/CodeKit.app/Contents/Resources/engines/compass/bin/../lib/compass/configuration/inheritance.rb: config Run with --trace to see the full backtrace"
I'm not a Mac User, but you have not installed SASS & Compass yet, I guess.
Did you install it already?
Novrian, I have Sass & Compass working fine here, also I've used sass and bootstrap in my older projects. I really appreciate your attention.
I have no idea Julio, I've not use Mac before :)
cc: @vwall
The problem is you are trying to run the Gemfile entry (your step 2) as a CL command.
What you should do is install the Bundler gem (gem install bundler), then after you create a new Rails project there should be a file called Gemfile under the project root. Add "gem "compass_twitter_bootstrap" ' to that file (plus any other gems you wish to use in that project) and run the command 'bundle' from the command line.
Here is more info on Bundler: http://gembundler.com/
EDIT: this process is explaned in detail in the documentation:
https://github.com/vwall/compass-twitter-bootstrap#usage-with-asset-pipelinerails-32
EDIT 2: good resource to learn about Bundler and using the Gemfile (little dated, but basics the same):
http://railscasts.com/episodes/201-bundler
Novrian thx.
tagCincy I will try it. THX.
@juliorosadesigner, I am having same issue as with you. if you're able to resolve it than looking forward for your solution to this.