rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.88k stars 2k forks source link

Heroku instructions for getting started with Rails 3.0 #1749

Closed DouglasAllen closed 12 years ago

DouglasAllen commented 12 years ago

I doubt that bundler has anything to do with heroku but we need to get on the same page with this. My bundle install fails because I am missing a libpg-fe.h which was never mentioned at heroku's startup page. They just say comment out gem 'sqlite3' and place gem 'pg' into Gemfile. I found libpg-dev debian package and it wants libpg5 also and installed it. Then I ran bundle install again and it built the native extensions just fine. So how can we let them (heroku) know that this is dependency that they have failed to mention at all on this page http://devcenter.heroku.com/articles/rails3? All I know is that bundler told me I could report this as an issue. Thanks github member. kb9agt@gmail.com

radar commented 12 years ago

What?

Installing libpg-fe.h onto your system has nothing to do with Heroku at all. If your system is missing this dependency then it's your system's fault. Nothing at all to do with Heroku. Heroku's servers should be configured correctly from the get-go to use PostgreSQL.

I don't know why you opened an issue for that problem here.

DouglasAllen commented 12 years ago

Because the failure told me to. I'm supposed to report something even if I don't know how to fix it. I didn't break. It failed. It's a tutorial. Don't you get it? Just delete it then if you not going to help anyone. Why are you defending there system? It's not the system. It's the docs as usual. Code geeks. Why do I want to be one? Next time ask me what "Matz" has to do with "Mormon" I could answer that one. Huh? What? You have such a lovely demeanor. Take care. At least you took the time to write me. I get mad too. Then my whole system gets corrupt. I start deleting things I think that I don't need anymore. Maybe we could start over sometime when I understand the word issues. It's a report. That's all. You can rest assured it's not the gems fault. I just thought an important maintainer like you might have some influence with Heroku.

On Tue, Mar 13, 2012 at 11:42 PM, Ryan Bigg reply@reply.github.com wrote:

What?

Installing libpg-fe.h onto your system has nothing to do with Heroku at all. If your system is missing this dependency then it's your system's fault. Nothing at all to do with Heroku. Heroku's servers should be configured correctly from the get-go to use PostgreSQL.

I don't know why you opened an issue for that problem here.


Reply to this email directly or view it on GitHub: https://github.com/carlhuda/bundler/issues/1749#issuecomment-4492189

radar commented 12 years ago

First, you need to calm down. Open source is free. The Ruby community is kind. I meant absolutely no offence by my message. Please be aware that we get a ton of issues like this every single day and that we take the time to respond to them all in a (usually) kind fashion.

Going on a rant like that is just silly and immature. I have faith that you're a much, much better person than that.

I saw bundle install and assumed that you were running it on your local machine. Is this the case? If so, my original message still stands. If you swapped out the sqlite3 gem with the pg gem in your Gemfile and attempted to run bundle install, to install the pg gem locally you will need the correct PostgreSQL headers. These are usually obtained by installing a package for your OS, or from compiling PostgreSQL from source.

Yes, Bundler told you to file an issue here. What you did was the correct thing to do. Bundler encountered a fatal error and the output was difficult to understand. There is talk of documenting common errors like this so we can easily instruct people what packages to install, but there are so many different operating systems out there with different configurations, that the effort to document all cases is monumental.

Please take the time to clearly outline your issue so we can better understand what you're doing. The original post does not clearly state where bundle install is being run, and that's key.

Again, no offence meant. Just trying to help.

DouglasAllen commented 12 years ago

Okay Ryan,

I'll disclose a little more about my system and of course you already know what I was trying to do.

Navigator Object Data navigator.appCodeName: Mozilla navigator.appName: Netscape navigator.appVersion: 5.0 (X11) navigator.userAgent: Mozilla/5.0 (X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Firefox/9.0.1 navigator.platform: Linux i686 navigator.javaEnabled(): true

Version Number major version number: 9 major/minor version number: 9.0.1

Ruby-1.9.2-p290 in rvm with latest rails gems 3.2.2 series Debian Linux Squeeze Mepis-11.0 kernel 2.6.36-1-mepis-smp

DouglasAllen commented 12 years ago

Hi All,

Just an FYI. I just brought in the new firefox.

Navigator Object Data navigator.appCodeName: Mozilla navigator.appName: Netscape navigator.appVersion: 5.0 (X11) navigator.userAgent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 navigator.platform: Linux i686 navigator.javaEnabled(): false

Version Number major version number: 11 major/minor version number: 11.0

DouglasAllen commented 12 years ago

http://www.lds.org/cm/

just click Music and you'll see a link for "All About Your System". That's handy.

radar commented 12 years ago

Firefox has nothing at all to do with Bundler. Completely irrelevant. The kind of system information I meant was the Ruby version and RubyGems version you were using.

DouglasAllen commented 12 years ago

Okay Ryan,

It did show a little about my platform though. Using /home/kb9agt/.rvm/gems/ruby-1.9.2-p290 kb9agt@mepis1:~$ gem -v 1.8.15

That was what I used to make the rails app in.

I can also use Using /home/kb9agt/.rvm/gems/ruby-1.9.3-p125 kb9agt@mepis1:~$ gem -v 1.8.17 but I wasn't sure if this is supported yet on Heroku. What I could really use some help with is postgresql. Data bases have always been my downfall when it comes to Rails apps. I know it was assumed that I should know something about Postgres but it's been trickier for me than MySQL is. It was all just a tryout anyway for my first rails app on Heroku. Here is the URL: http://falling-stream-8146.herokuapp.com/ As you will see by clicking the about link, it can't gather information without a db. Give me a few days and I will destroy this and do some more study on Postgres db, database.yml, rails new, and what have you. Thanks for all your help and I'm sorry if my topic was off thread. I'm open to any pointers for us newbies to the rubies and rails. I'm trying to concentrate on this right now. http://rubylearning.org pftwwr-41. I'm up to day 11 and need to get_er_done. Rails is something I should not working with right now. I just have in the past and man am I seeing change. I have http://ruby.railstutorial.org/ bookmarked and I may get back to it soon. I almost completed the first page but then rails changed. He really needs to help us with the Heroku db default I think. So I blew that off for now. At least I know can post one there now. It just don't quite work right yet.

Thanks again. I see you closed the issue and if need to delete anything there just let me know. Best Regards Douglas

DouglasAllen commented 12 years ago

LinkedIn

Ryan,

I'd like to add you to my professional network on LinkedIn.

Douglas Allen Custodian at AA Electronics Greater Chicago Area

Confirm that you know Douglas Allen: https://www.linkedin.com/e/-drg3kx-h1bnnxdm-1x/isd/6781188720/MOZJ0kVe/?hs=false&tok=3T7xHEKaX7xBc1

You are receiving Invitation to Connect emails. Click to unsubscribe: http://www.linkedin.com/e/-drg3kx-h1bnnxdm-1x/uU_p2RyqN8Idf775u7CAT44LxzXtDSw0H0taGcidDzXZDSNRq0VGUcsO_bZC93NbwTVGAdiIDzXaxacfvS8CAOkkBHwn9SPBrUykLuvz_v6kVevw/goo/reply%2Bi-3643041-d3cc1db45a36ede82e423fc03d5f55855a26c512-887598%40reply%2Egithub%2Ecom/20061/I2340262495_1/?hs=false&tok=1E89zup5z7xBc1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

radar commented 12 years ago

Thanks Douglas but I don't use LinkedIn.

DouglasAllen commented 12 years ago

I may end up trying to get out of it also. It's doing terrible things like grepping my non contacts(because I don't store any of them in gmail contacts). They are coming from the auto-completion feature of gmail.com. I did not know that it would be best to keep that feature shut off untill now. That is in settings but I did not know about until recent. Sorry if this bothered you. If you know Victor G. and posterous blog, it also posted to a blog comment which really annoyed him because he had a hard time deleting it. Again I'm so sorry. I knew I shouldn't join linked in as I'm not a professional anything and I had a gut feeling to begin with when getting requests from people I only had online classes with. Now there are people on there that I do know who are professionals. I'm just trying to get rid of inherited junk. (broken big people toys) ;-(

Take care. Douglas