Closed itmth19 closed 10 years ago
How do you run process? Are you using Mac?
If you run process on production, you need to pre-compile files.
$ bundle exec rake assets:precompile RAILS_ENV=[development|production]
When I run the above command, it returns:
ouldn't find file 'twitter/bootstrap'
(in /Users/LeQuangThai/Rails/tuberate/app/assets/javascripts/application.js:17)
/Users/LeQuangThai/.rvm/gems/ruby-2.0.0-p247@global/bin/ruby_noexec_wrapper:14:in eval' /Users/LeQuangThai/.rvm/gems/ruby-2.0.0-p247@global/bin/ruby_noexec_wrapper:14:in
Yes I'm using a mac.
It says that "bad URI(is not URI?): [development]"? is it that I've not set the development for my app folder?
oh I mean
$ bundle exec rake assets:precompile RAILS_ENV=development
or
$ bundle exec rake assets:precompile RAILS_ENV=production
ok. now try these commands below. first of all, you need to stop process.
$ bundle install --without production
$ bundle exec rake db:migrate
$ bundle exec rails s
then, let me know your logs.
I've figured it out. I change the 'twitter/bootstrap' in both application.js and css.sass into 'bootstrap', it works now? Just because I found in the gemfile no word 'twitter' so:)) Can you explain for me why?
I have a question? Why when I see in the https://github.com/anjlab/bootstrap-rails
, they are using @import "twitter/bootstrap", but I have to deleted the "twitter" for it to works?
Oh, wait. I think it is not right way. We use Bootstrap 3 not 2.2.6.
I commented out "bootstrap-sass" from Gemfile. I add gem "anjlab-bootstrap-rails" instead of it.
So how to fix it the right way?
I got it!!!! I commented out "bootstrap-sass" again, and then change it back to twitter in both application.js and application.css.sass . Maybe at the first place, I did not restart the server, and I make "bootstrap-sass" effective so, that's why! So sorry!
no problem ;) can you push fixed code?
I've done already:D Could you check?
I think it works fine. Looks much better isn't it? :)
Ya! It's so quick to use bootstrap and sass. I've hread sass before but have never tried. I've a request? I will read through your previous commit, if I don't understand, what should I do to ask you at a specific line? I saw the "+" box function, could I use that to ask you?
sure. I'll try to response as much as I could.
What should I do next? I will learn more about bootstrap, sass and haml before the internship.
let's try to customize tubes/show page by your taste.
after that, try Devise for accounting. it would be challenging for you.
On Wed, Aug 21, 2013 at 5:55 PM, itmth19 notifications@github.com wrote:
What should I do next? I will learn more about bootstrap, sass and haml before the internship.
Reply to this email directly or view it on GitHub: https://github.com/itmth19/tuberate/issues/8#issuecomment-23003572
Ok I got that. Thank you!!
I got the message: File to import not found or unreadable: twitter/bootstrap.
Do you know how to solve this? I'm sure that you can test it on your computer so, I think it's my problem so.