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

Can't install compass-twitter-bootstrap #97

Open
juliorosadesigner opened this issue Jan 2, 2013 · 8 comments
Open

Can't install compass-twitter-bootstrap #97

juliorosadesigner opened this issue Jan 2, 2013 · 8 comments

Comments

@juliorosadesigner
Copy link

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.

@novrian
Copy link

novrian commented Jan 2, 2013

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

@juliorosadesigner
Copy link
Author

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"

@novrian
Copy link

novrian commented Jan 3, 2013

I'm not a Mac User, but you have not installed SASS & Compass yet, I guess.

Did you install it already?

@juliorosadesigner
Copy link
Author

Novrian, I have Sass & Compass working fine here, also I've used sass and bootstrap in my older projects.
I really appreciate your attention.

@novrian
Copy link

novrian commented Jan 3, 2013

I have no idea Julio, I've not use Mac before :)

cc: @vwall

@tagCincy
Copy link
Contributor

tagCincy commented Jan 3, 2013

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

@juliorosadesigner
Copy link
Author

Novrian thx.

tagCincy I will try it. THX.

@sukhjindersingh
Copy link

@juliorosadesigner, I am having same issue as with you. if you're able to resolve it than looking forward for your solution to this.

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