Tanawat Limungkura
2010-Sep-24 08:59 UTC
I cant use any rails command in my created project WHY!
I use rails 3.0 In my created dir I tried to use any command of rails just like rails -v but it show me that Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem sources. Try running `bundle install`. I''ve already exactly installed gem Why this error occurred What''s wrong Thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Peter De Berdt
2010-Sep-24 09:21 UTC
Re: I cant use any rails command in my created project WHY!
On 24 Sep 2010, at 10:59, Tanawat Limungkura wrote:> I use rails 3.0 In my created dir I tried to use any command of rails > just like > rails -v but it show me that > Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem > sources. > Try running `bundle install`. > I''ve already exactly installed gem Why this error occurred What''s > wrongMake sure you have the following line in your Gemfile: gem ''sqlite3-ruby'', :require => ''sqlite3'' Then do "bundle install" Gems not defined in your Gemfile will NOT be loaded, even if you have them installed. Best regards Peter De Berdt -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 09:44 UTC
Re: I cant use any rails command in my created project WHY!
Peter De Berdt wrote:> On 24 Sep 2010, at 10:59, Tanawat Limungkura wrote: > >> I use rails 3.0 In my created dir I tried to use any command of rails >> just like >> rails -v but it show me that >> Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem >> sources. >> Try running `bundle install`. >> I''ve already exactly installed gem Why this error occurred What''s >> wrong > > Make sure you have the following line in your Gemfile: > > gem ''sqlite3-ruby'', :require => ''sqlite3'' > > Then do "bundle install" > > Gems not defined in your Gemfile will NOT be loaded, even if you have > them installed. > > > Best regards > > Peter De BerdtIt did not work Peter I try to create project with mysql like rails new apple -d mysql gem ''rails'', ''3.0.0'' gem ''mysql2'' are already written but the problem stay still Could not find gem ''mysql2 (>= 0, runtime)'' in any of the gem sources. Try running `bundle install`. What should I do T^T -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solrac Caritas
2010-Sep-24 10:00 UTC
Re: I cant use any rails command in my created project WHY!
Tanawat Limungkura wrote:> Peter De Berdt wrote: >> On 24 Sep 2010, at 10:59, Tanawat Limungkura wrote: >> >>> I use rails 3.0 In my created dir I tried to use any command of rails >>> just like >>> rails -v but it show me that >>> Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem >>> sources. >>> Try running `bundle install`. >>> I''ve already exactly installed gem Why this error occurred What''s >>> wrong >> >> Make sure you have the following line in your Gemfile: >> >> gem ''sqlite3-ruby'', :require => ''sqlite3'' >> >> Then do "bundle install" >> >> Gems not defined in your Gemfile will NOT be loaded, even if you have >> them installed. >> >> >> Best regards >> >> Peter De Berdt > > It did not work Peter I try to create project with mysql like > rails new apple -d mysql > gem ''rails'', ''3.0.0'' > gem ''mysql2'' > are already written > but the problem stay still > Could not find gem ''mysql2 (>= 0, runtime)'' in any of the gem sources. > Try running `bundle install`. > > What should I do T^Tdo you run `bundle install`? http://edgeguides.rubyonrails.org/getting_started.html 3.3 Installing the Required Gems Rails applications manage gem dependencies with Bundler by default. As we don’t need any other gems beyond the ones in the generated Gemfile we can directly run bundle install to have them ready. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 10:30 UTC
Re: I cant use any rails command in my created project WHY!
Solrac Caritas wrote:> Tanawat Limungkura wrote: >> Peter De Berdt wrote: >>> On 24 Sep 2010, at 10:59, Tanawat Limungkura wrote: >>> >>>> I use rails 3.0 In my created dir I tried to use any command of rails >>>> just like >>>> rails -v but it show me that >>>> Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem >>>> sources. >>>> Try running `bundle install`. >>>> I''ve already exactly installed gem Why this error occurred What''s >>>> wrong >>> >>> Make sure you have the following line in your Gemfile: >>> >>> gem ''sqlite3-ruby'', :require => ''sqlite3'' >>> >>> Then do "bundle install" >>> >>> Gems not defined in your Gemfile will NOT be loaded, even if you have >>> them installed. >>> >>> >>> Best regards >>> >>> Peter De Berdt >> >> It did not work Peter I try to create project with mysql like >> rails new apple -d mysql >> gem ''rails'', ''3.0.0'' >> gem ''mysql2'' >> are already written >> but the problem stay still >> Could not find gem ''mysql2 (>= 0, runtime)'' in any of the gem sources. >> Try running `bundle install`. >> >> What should I do T^T > > do you run `bundle install`? > > http://edgeguides.rubyonrails.org/getting_started.html > 3.3 Installing the Required Gems > > Rails applications manage gem dependencies with Bundler by default. As > we don’t need any other gems beyond the ones in the generated Gemfile we > can directly run > bundle install to have them ready.Problem stay still after running bundle install it show Installing mysql2 (0.2.4) with native extensions /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions'': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) I exactly dont know why ? cause of I install ruby 1.9.1 then reinstall 1.9.2 ???? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rajeevsharma86
2010-Sep-24 10:38 UTC
Re: Re: I cant use any rails command in my created project WHY!
http://rubyforge.org/frs/download.php/62497/mysql-2.8.1-x86-mingw32.gem this is for mysql Download run "gem install mysql-2.8.1-x86-mingw32 --local" in gemfile change mysql2 to mysql hope it works On Fri, Sep 24, 2010 at 4:00 PM, Tanawat Limungkura <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> Solrac Caritas wrote: > > Tanawat Limungkura wrote: > >> Peter De Berdt wrote: > >>> On 24 Sep 2010, at 10:59, Tanawat Limungkura wrote: > >>> > >>>> I use rails 3.0 In my created dir I tried to use any command of rails > >>>> just like > >>>> rails -v but it show me that > >>>> Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem > >>>> sources. > >>>> Try running `bundle install`. > >>>> I''ve already exactly installed gem Why this error occurred What''s > >>>> wrong > >>> > >>> Make sure you have the following line in your Gemfile: > >>> > >>> gem ''sqlite3-ruby'', :require => ''sqlite3'' > >>> > >>> Then do "bundle install" > >>> > >>> Gems not defined in your Gemfile will NOT be loaded, even if you have > >>> them installed. > >>> > >>> > >>> Best regards > >>> > >>> Peter De Berdt > >> > >> It did not work Peter I try to create project with mysql like > >> rails new apple -d mysql > >> gem ''rails'', ''3.0.0'' > >> gem ''mysql2'' > >> are already written > >> but the problem stay still > >> Could not find gem ''mysql2 (>= 0, runtime)'' in any of the gem sources. > >> Try running `bundle install`. > >> > >> What should I do T^T > > > > do you run `bundle install`? > > > > http://edgeguides.rubyonrails.org/getting_started.html > > 3.3 Installing the Required Gems > > > > Rails applications manage gem dependencies with Bundler by default. As > > we don’t need any other gems beyond the ones in the generated Gemfile we > > can directly run > > bundle install to have them ready. > > Problem stay still after running bundle install it show > > Installing mysql2 (0.2.4) with native extensions > /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block > in build_extensions'': ERROR: Failed to build gem native extension. > (Gem::Installer::ExtensionBuildError) > > I exactly dont know why ? > cause of I install ruby 1.9.1 then reinstall 1.9.2 ???? > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Thanks: Rajeev sharma -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 11:06 UTC
Re: Re: I cant use any rails command in my created project WHY!
rajeevsharma86 wrote:> http://rubyforge.org/frs/download.php/62497/mysql-2.8.1-x86-mingw32.gem > > this is for mysql > Download run "gem install mysql-2.8.1-x86-mingw32 --local" > in gemfile change mysql2 to mysql hope it works > > On Fri, Sep 24, 2010 at 4:00 PM, Tanawat Limungkura > <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote: > >> >>>> Try running `bundle install`. >> >>> them installed. >> >> are already written >> > >> (Gem::Installer::ExtensionBuildError) >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > Thanks: > Rajeev sharmaStill did''nt work Why it''s not contain Gemfile ??? ERROR: Could not find a valid gem ''mysql-2.8.1-x86-mingw32'' (>= 0) in any repository However thanks I''m very new for linux and 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rajeevsharma86
2010-Sep-24 11:13 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
you are on linux how did you install rails from which tutorial On Fri, Sep 24, 2010 at 4:36 PM, Tanawat Limungkura <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> rajeevsharma86 wrote: > > http://rubyforge.org/frs/download.php/62497/mysql-2.8.1-x86-mingw32.gem > > > > this is for mysql > > Download run "gem install mysql-2.8.1-x86-mingw32 --local" > > in gemfile change mysql2 to mysql hope it works > > > > On Fri, Sep 24, 2010 at 4:00 PM, Tanawat Limungkura > > <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote: > > > >> >>>> Try running `bundle install`. > >> >>> them installed. > >> >> are already written > >> > > >> (Gem::Installer::ExtensionBuildError) > >> To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > <rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%252Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > > >> . > >> For more options, visit this group at > >> http://groups.google.com/group/rubyonrails-talk?hl=en. > >> > >> > > > > > > -- > > Thanks: > > Rajeev sharma > > Still did''nt work Why it''s not contain Gemfile ??? > ERROR: Could not find a valid gem ''mysql-2.8.1-x86-mingw32'' (>= 0) in > any repository > > However thanks I''m very new for linux and 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Thanks: Rajeev sharma -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solrac Caritas
2010-Sep-24 11:29 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
rajeevsharma86 wrote:> you are on linux how did you install rails from which tutorial > > On Fri, Sep 24, 2010 at 4:36 PM, Tanawat Limungkura > <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote: > >> >> >>>> Try running `bundle install`. >> >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> any repository >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > Thanks: > Rajeev sharmain a console: cd / mysql -V gem list -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 11:38 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
Solrac Caritas wrote:> rajeevsharma86 wrote: >> you are on linux how did you install rails from which tutorial >> >> On Fri, Sep 24, 2010 at 4:36 PM, Tanawat Limungkura >> <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote: >> >>> >> >>>> Try running `bundle install`. >>> >> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> any repository >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >>> >> >> >> -- >> Thanks: >> Rajeev sharma > > > in a console: > cd / > mysql -V > gem listhttp://railstutorial.org/book This one Rajeev Your MySQL connection id is 36 Server version: 5.1.41-3ubuntu12.6 (Ubuntu) ---------------------------------------------------------------------------- *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.0) actionpack (3.0.0) activemodel (3.0.0) activerecord (3.0.0) activeresource (3.0.0) activesupport (3.0.0) arel (1.0.1) builder (2.1.2) bundler (1.0.0) erubis (2.6.6) i18n (0.4.1) mail (2.2.6.1) mime-types (1.16) minitest (1.6.0) polyglot (0.3.1) rack (1.2.1) rack-mount (0.6.13) rack-test (0.5.5) rails (3.0.0) railties (3.0.0) rake (0.8.7) rdoc (2.5.8) thor (0.14.1) treetop (1.4.8) tzinfo (0.3.23) Thanks everyone -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solrac Caritas
2010-Sep-24 11:43 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
cd / su root (enter your password) gem update gem install mysql gem list -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 11:50 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
Solrac Caritas wrote:> > cd / > su root (enter your password) > gem update > gem install mysql > gem listThe result still the same :( abstract (1.0.0) actionmailer (3.0.0) actionpack (3.0.0) activemodel (3.0.0) activerecord (3.0.0) activeresource (3.0.0) activesupport (3.0.0) arel (1.0.1) builder (2.1.2) bundler (1.0.0) erubis (2.6.6) i18n (0.4.1) mail (2.2.6.1) mime-types (1.16) minitest (1.7.2, 1.6.0) polyglot (0.3.1) rack (1.2.1) rack-mount (0.6.13) rack-test (0.5.5) rails (3.0.0) railties (3.0.0) rake (0.8.7) rdoc (2.5.11, 2.5.8) thor (0.14.1) treetop (1.4.8) tzinfo (0.3.23) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 11:52 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
The suspicious thing is I can run ''rails'' outside my project dir why????????????? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solrac Caritas
2010-Sep-24 12:00 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
I don''t see mysql...what is the output of: cd / su root gem install mysql -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-24 14:20 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
Solrac Caritas wrote:> > I don''t see mysql...what is the output of: > cd / > su root > gem install mysqlThe result is ERROR: Error installing mysql: ERROR: Failed to build gem native extension. . . . . *** 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. :( -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Walter Lee Davis
2010-Sep-24 14:24 UTC
Re: Re: Re: Re: I cant use any rails command in my created project WHY!
Have you ever installed MySQL (the database server) from source on this computer? It sounds like you don''t have the libraries and headers that the mysql gem needs to compile a native Ruby bridge for your specific server. It is entirely possible and likely to have a working mysql server daemon on your computer, without having the development header files that compiled it. Walter On Sep 24, 2010, at 10:20 AM, Tanawat Limungkura wrote:> Solrac Caritas wrote: >> >> I don''t see mysql...what is the output of: >> cd / >> su root >> gem install mysql > > The result is > > ERROR: Error installing mysql: > ERROR: Failed to build gem native extension. > . > . > . > . > *** 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. > > :( > > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solrac Caritas
2010-Sep-24 14:30 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
Tanawat Limungkura wrote:> Solrac Caritas wrote: >> >> I don''t see mysql...what is the output of: >> cd / >> su root >> gem install mysql > > The result is > > ERROR: Error installing mysql: > ERROR: Failed to build gem native extension. > . > . > . > . > *** 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. > > :(can you post your mkmf.log ? cd /usr/local/lib/ruby find . -name mkmf.log -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura
2010-Sep-25 14:28 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
Solrac Caritas wrote:> Tanawat Limungkura wrote: >> Solrac Caritas wrote: >>> >>> I don''t see mysql...what is the output of: >>> cd / >>> su root >>> gem install mysql >> >> The result is >> >> ERROR: Error installing mysql: >> ERROR: Failed to build gem native extension. >> . >> . >> . >> . >> *** 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. >> >> :( > > can you post your mkmf.log ? > > cd /usr/local/lib/ruby > find . -name mkmf.logI change to windows 7 platform and use Netbeans to develop the problem stay still the same WTF ??????????? Any one help meeeeeeeeeeeeeeee plzzzzzz T____________T -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Srikanth Ravi
2010-Oct-12 23:21 UTC
Re: Re: Re: I cant use any rails command in my created project WHY!
Tanawat Limungkura wrote in post #943779:> Solrac Caritas wrote: >> Tanawat Limungkura wrote: >>> Solrac Caritas wrote: >>>> >>>> I don''t see mysql...what is the output of: >>>> cd / >>>> su root >>>> gem install mysql >>> >>> The result is >>> >>> ERROR: Error installing mysql: >>> ERROR: Failed to build gem native extension. >>> . >>> . >>> . >>> . >>> *** 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. >>> >>> :( >> >> can you post your mkmf.log ? >> >> cd /usr/local/lib/ruby >> find . -name mkmf.log > > > I change to windows 7 platform and use Netbeans to develop the problem > stay still the same WTF ??????????? > > Any one help meeeeeeeeeeeeeeee plzzzzzz T____________THi, I am not too sure if my documentation would help you. But give it a try. I have attached a word doc that I had created to help with ruby-rails installation. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Srikanth Ravi
2010-Oct-12 23:23 UTC
Re: I cant use any rails command in my created project WHY!
Hi, am not too sure if this would help you. but try the installation guide (attached) that I had created to help with the ruby-rails installation on windows. i suppose your problem should be because you dont have the sqlite3dll files in your ruby/bin directory... -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.