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

Executing Command rails generate bootstrap:install less Never Finishes - Bootstrap 2 #899

Closed
lightbe opened this issue Jan 12, 2016 · 2 comments

Comments

@lightbe
Copy link

lightbe commented Jan 12, 2016

Note: Bootstrap 2 is the only version of Bootstrap I'm currently using for all my Rails 4 applications since I currently don't have the time to learn the current version of Bootstrap and redo all my Rails applications. I'm running the latest version of Ruby 2.2.2. I'm also using the latest version of RVM.

Yesterday I created a Rails 4.2.2 application and installed version 2.2.8 of the gem with therubyracer 0.12.2 and less-rails 2.7.1. When I executed rails generate bootstrap:install less it created the bootstrap_and_overrides.css.less within a minute.

About two hours ago I created a new Rails 4.2.5 application and installed version 2.2.8 of twitter-bootstrap-rails with therubyracer 0.12.2 and less-rails 2.7.1 in a different gemset. I submitted the rails generate bootstrap:install less command and as of now the command has not executed.

Here is what my terminal looks like. I stopped the first one after about 30 minutes. The second one is still sitting there.

[myrailsapp]$ rails generate bootstrap:install less
^Z
[1]+ Stopped rails generate bootstrap:install less
[myrailsapp]$ rails generate bootstrap:install less

I could not find anything in the documentation for the gem. However I did find the following link in Stack Overflow using a newer version of twitter-bootstrap-rails. The culprit seems to be with the spring gem being used.

http://stackoverflow.com/questions/33189016/how-to-solve-rails-generate-commands-hanging

The suggested solution worked for the person who submitted the question. However when I tried to stop spring I get a segmentation fault error. The same happens when I remove spring from my Gemfile.

Here is the file with the terminal statements for the segmentation error.

segmentation_error.txt

Here is the Ruby crash report file produced.

ruby_2016-01-12-115735_mycrashreport.txt

@lightbe
Copy link
Author

lightbe commented Feb 1, 2016

I decided to try and create another Rails 4.2.5 application using the current version of the gem. I still get the segmentation error.
ruby_2016-02-01_mycrashreport.txt

@lightbe
Copy link
Author

lightbe commented Mar 17, 2017

Not using this gem anymore. Closing issue

@lightbe lightbe closed this as completed Mar 17, 2017
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

1 participant