I had Rails --version 3.0.0.beta3 installed. When I try to start the server I get a message, "sqlite3-ruby-1.2.5 is cached, but not installed. Try running ''bundle install''. When I run the bundle install the following message below appears: ####### Installing sqlite3-ruby (1.2.5) from .gem files at /Users/john.ranaudo/.bundle/ruby/1.8/cache with native extensions /Library/Ruby/Site/1.8/rubygems/installer.rb:482:in `build_extensions'': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can''t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h Gem files will remain installed in /Users/john.ranaudo/.bundle/ruby/1.8/gems/sqlite3-ruby-1.2.5 for inspection. Results logged to /Users/john.ranaudo/.bundle/ruby/1.8/gems/sqlite3-ruby-1.2.5/ext/sqlite3_api/gem_make.out ####### Any thoughts on how to resolve this? Thanks, John -- 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.
It appears it isn''t finding the header file it''s looking for. If your system''s configured like mine you''ll find it elsewhere. I think if you skip all that and just (remote) install the gem sqlite3- ruby you should be good to go. -- 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.
@mike I tried (sudo gem install sqlite3-ruby) but I''m still getting header file issues? -- 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.
Are you running Snow Leopard? If so, maybe dig into some of the comments here: http://stackoverflow.com/questions/1350359/snow-leopard-ruby-on-rails-sqlite3-issue On May 11, 11:34 am, John John <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> @mike I tried (sudo gem install sqlite3-ruby) but I''m still getting > header file issues?-- 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.
hi, i have a "notes" model which i include in various other views via partial. how can i tell / what do i need to do in order to redirect the user back to the view where he was instead to the index-view of the notes? thx -- 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.
Mike wrote:> Are you running Snow Leopard? > > If so, maybe dig into some of the comments here: > > http://stackoverflow.com/questions/1350359/snow-leopard-ruby-on-rails-sqlite3-issueThanks Mike! This article resolved my issue. -- 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.
On 11 May 2010 16:48, tom <tomabroad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > > i have a "notes" model which i include in various other views via > partial. how can i tell / what do i need to do in order to redirect the > user back to the view where he was instead to the index-view of the > notes?Have a look at the docs for redirect_to and you will see that there is a :back option to go back to where you were. Colin -- 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.
thank u! must have overseen that tom On Tue, 2010-05-11 at 20:40 +0100, Colin Law wrote:> On 11 May 2010 16:48, tom <tomabroad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > hi, > > > > i have a "notes" model which i include in various other views via > > partial. how can i tell / what do i need to do in order to redirect the > > user back to the view where he was instead to the index-view of the > > notes? > > Have a look at the docs for redirect_to and you will see that there is > a :back option to go back to where you were. > > Colin >-- 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.