Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Not able to create ne app
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Subhransu M.  
View profile  
 More options Sep 23 2012, 3:42 pm
From: "Subhransu M." <li...@ruby-forum.com>
Date: Sun, 23 Sep 2012 21:41:29 +0200
Local: Sun, Sep 23 2012 3:41 pm
Subject: Not able to create ne app
I am getting error while creating new app. Here are the details :

create
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/images/rails.png
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/mailers
      create  app/models
      create  app/views/layouts/application.html.erb
      create  app/mailers/.gitkeep
      create  app/models/.gitkeep
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  doc
      create  doc/README_FOR_APP
      create  lib
      create  lib/tasks
      create  lib/tasks/.gitkeep
      create  lib/assets
      create  lib/assets/.gitkeep
      create  log
      create  log/.gitkeep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/index.html
      create  public/robots.txt
      create  script
      create  script/rails
      create  test/fixtures
      create  test/fixtures/.gitkeep
      create  test/functional
      create  test/functional/.gitkeep
      create  test/integration
      create  test/integration/.gitkeep
      create  test/unit
      create  test/unit/.gitkeep
      create  test/performance/browsing_test.rb
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.gitkeep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.gitkeep
      create  vendor/plugins
      create  vendor/plugins/.gitkeep
         run  bundle install
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

        /usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite-devel' and check your shared library search path
(the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
  --with-opt-dir
  --without-opt-dir
  --with-opt-include
  --without-opt-include=${opt-dir}/include
  --with-opt-lib
  --without-opt-lib=${opt-dir}/lib
  --with-make-prog
  --without-make-prog
  --srcdir=.
  --curdir
  --ruby=/usr/bin/ruby1.8
  --with-sqlite3-dir
  --without-sqlite3-dir
  --with-sqlite3-include
  --without-sqlite3-include=${sqlite3-dir}/include
  --with-sqlite3-lib
  --without-sqlite3-lib=${sqlite3-dir}/lib
  --enable-local
  --disable-local

Gem files will remain installed in
/home/subhransu/.bundler/tmp/29704/gems/sqlite3-1.3.6 for inspection.
Results logged to
/home/subhransu/.bundler/tmp/29704/gems/sqlite3-1.3.6/ext/sqlite3/gem_make. out
An error occurred while installing sqlite3 (1.3.6), and Bundler cannot
continue.
Make sure that `gem install sqlite3 -v '1.3.6'` succeeds before
bundling.

and I am not able to create new app. How to fix this problem ?

Attachments:
http://www.ruby-forum.com/attachment/7754/Screenshot_from_2012-09-24_...

--
Posted via http://www.ruby-forum.com/.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hassan Schroeder  
View profile  
 More options Sep 23 2012, 3:59 pm
From: Hassan Schroeder <hassan.schroe...@gmail.com>
Date: Sun, 23 Sep 2012 12:58:33 -0700
Local: Sun, Sep 23 2012 3:58 pm
Subject: Re: [Rails] Not able to create ne app

On Sun, Sep 23, 2012 at 12:41 PM, Subhransu M. <li...@ruby-forum.com> wrote:
> I am getting error while creating new app. Here are the details :
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.

>         /usr/bin/ruby1.8 extconf.rb
> checking for sqlite3.h... no
> sqlite3.h is missing. Try 'port install sqlite3 +universal'
> or 'yum install sqlite-devel' and check your shared library search path
> (the
> location where your sqlite3 shared library is located).
> and I am not able to create new app. How to fix this problem ?

Have you followed the suggestion *in the error message* ?

--
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Subhransu M.  
View profile  
 More options Sep 23 2012, 4:17 pm
From: "Subhransu M." <li...@ruby-forum.com>
Date: Sun, 23 Sep 2012 22:16:23 +0200
Local: Sun, Sep 23 2012 4:16 pm
Subject: Re: Not able to create ne app
Hassan Schroeder wrote in post #1077209:

Yes , But that does not help!
I got the bellow message while doing "yum install sqlite-devel"

Setting up Install Process
No package sqlite-devel available.
Nothing to do

--
Posted via http://www.ruby-forum.com/.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hassan Schroeder  
View profile  
 More options Sep 23 2012, 4:35 pm
From: Hassan Schroeder <hassan.schroe...@gmail.com>
Date: Sun, 23 Sep 2012 13:34:19 -0700
Local: Sun, Sep 23 2012 4:34 pm
Subject: Re: [Rails] Re: Not able to create ne app

On Sun, Sep 23, 2012 at 1:16 PM, Subhransu M. <li...@ruby-forum.com> wrote:
>>> checking for sqlite3.h... no
>>> sqlite3.h is missing.
> Yes , But that does not help!

Well, the bottom line is the development libraries on whatever distro
you're using aren't there for sqlite3 -- you need to figure out how to
install them (or use a different DB for which you do have those libs).

GIYF :-)

--
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Subhransu M.  
View profile  
 More options Sep 23 2012, 5:09 pm
From: "Subhransu M." <li...@ruby-forum.com>
Date: Sun, 23 Sep 2012 23:08:08 +0200
Local: Sun, Sep 23 2012 5:08 pm
Subject: Re: Re: Not able to create ne app
hi,
I use mysql . is it possible to exclude sqlite , then how to ?

--
Posted via http://www.ruby-forum.com/.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hassan Schroeder  
View profile  
 More options Sep 23 2012, 5:19 pm
From: Hassan Schroeder <hassan.schroe...@gmail.com>
Date: Sun, 23 Sep 2012 14:18:07 -0700
Local: Sun, Sep 23 2012 5:18 pm
Subject: Re: [Rails] Re: Re: Not able to create ne app

On Sun, Sep 23, 2012 at 2:08 PM, Subhransu M. <li...@ruby-forum.com> wrote:
> I use mysql . is it possible to exclude sqlite , then how to ?

Of course. Rails lets you use the database of your choice.

Change your Gemfile (and your config/database.yml) appropriately.

--
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Ruther Nill  
View profile  
 More options Sep 23 2012, 8:20 pm
From: Jim Ruther Nill <jvn...@gmail.com>
Date: Mon, 24 Sep 2012 10:19:11 +1000
Local: Sun, Sep 23 2012 8:19 pm
Subject: Re: [Rails] Re: Re: Not able to create ne app

On Mon, Sep 24, 2012 at 7:08 AM, Subhransu M. <li...@ruby-forum.com> wrote:
> hi,
> I use mysql . is it possible to exclude sqlite , then how to ?

you can use the -d option to pass the database you want to use.
 additionally, you can use
rails new -h to show all options available to you.  That lists all database
that you can use
in rails.

> --
> Posted via http://www.ruby-forum.com/.

> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »