-
Notifications
You must be signed in to change notification settings - Fork 18
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
An error occurred while installing hitimes (1.2.2), and Bundler cannot continue. #27
Comments
Apologies for taking so long to reply. I've been offline for a few days. I think you need to install the necessary dependencies needed to build and install ruby C extensions. I think this should fix it: Once that is done, just rerun your |
Thank you. I thought I had already installed the build-essential package. Now it works. |
Glad that worked for you. When you find a bug in hitimes, please let me know so I can fix it. |
Hi, |
hi @krawatcoder Normally I ship an x86 binary in hitimes, unfortunately I haven't reconstructed my windows cross compilation buildchain yet, so it is falling behind. Which version of hitimes are you wanting to get installed? Are you installing hitimes for you application dependency or is it a dependency from another gem? |
@copiousfreetime I want to install 1.2.2 |
@krawatcoder Sounds good, I'm on a vacation right now and will be back home on Dec 3, so I'll get to this when I return home. I have opened Issue #30 to track the windows binary gem. Please follow up on further conversation there. |
What's the current state of hitimes support for Yosemite? I'm trying to build guard to update my web-development life-cycle to support live-reload and I'm getting this error message. I"m not a ruby guy so this is all very new to me. |
@crispen-smith hitimes should work on yosemite, at least I have heard reports from folks and it works just fine. If you can paste the errors you are seeing into a new ticket we'll go from there. |
And, this morning it seems to work just fine. |
that's odd, I'm not sure what to say. |
Understandable. I think for the moment, if it's working I'm not going to delve into it further. |
Installing fails for me in Yosemite. I updated bundler and did try installing from ~/ and / directories per @crispen-smith but no love. Error messages below
|
Oops, just reread messages. Pasting into a new ticket now... |
for posterity, please see rvm/rvm#3360 |
sudo gem install hitimes
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h extconf failed, exit code 1 Gem files will remain installed in /var/lib/gems/2.2.0/gems/hitimes-1.2.2 for inspection. |
@javadudealok I'll need some more information, and this does not appear to be a bundler oriented problem, could you please open this up in a new ticket and also paste in the output of:
I have a suspicion that the gem command you executed does not go with the ruby version you think it should. |
The gem version is 2.4.5 and ruby 2.2.2 . |
@javadudealok conversation moved to #45 |
@copiousfreetime |
@qibo-cn if you have installed ruby via rvm then you will alwso need For your best bet to cover all situations that I know of for rvm based ruby installs: If you are installing ruby via I would encourage you to use a ruby version 2.2 or greater. Version 1.9 has been out of support for over a year and ruby 2.0 has ended support as of 2016-02-24 |
Hi @copiousfreetime, when install hitimes 1.2.4, got : mical@ubuntu:~/vertive/reporting$ gem install hitimes -v '1.2.4'
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS. (root) at /home/mical/.rvm/rubies/jruby-1.7.22/lib/ruby/shared/mkmf.rb:8 can you please help? |
@jufyao that would be my mistake, I forgot to push the java version of the gem to rubygems last night when I released. That has been fixed and you should be good to go.
|
Using Ubuntu 14.04, my output when running
gem install hitimes -v '1.2.2'
The text was updated successfully, but these errors were encountered: